doc: Fixed GitHub-specific code snippet issue

The code snippet in the coding syle & guidelines doc was not rendering
properly on GitHub -- it was truncating the snippet.

This has been fixed and the C language has been specified for syntax 
highlighting.