C++ Style Comments

When the C99 extensions setting is on, the compiler allows C++-style comments as well as regular C comments. A C++-style comment begins with

  // 
  
  

and continues till the end of a source code line.

A C-style comment begins with

  /*
  
  

ends with

  */
  
  

and may span more than one line.