On Wed, Jul 20, 2011 at 10:31 AM, Jai Dayal <dayalsoap@gmail.com> wrote:
Ok, how to do that in the .emacs file on startup?

Look at <http://www.emacswiki.org/emacs/IndentingC>, and of course RTM at <http://cc-mode.sourceforge.net/html-manual/index.html>.