Look at CC mode in the emacs info. (Editing Programs has a *note CC Mode, follow that).
I'm ashamed to admit that I haven't been entering much C code lately but I used to do quite a bit. Here are some very old settings from my .emacs file (just an example, and I haven't tested them lately -- they match a style at a company I worked for a long time ago): (setq c-indent-level 4) (setq c-continued-statement-offset 4) (setq c-brace-offset 0) (setq c-continued-brace-offset -4) (setq c-brace-imaginary-offset 0) (setq c-argdecl-indent 4) (setq c-label-offset -2) (setq c-auto-newline nil)