Show function name in C-mode

add below line in $HOME/.emacs:

(which-func-mode)