C++-style Comments

When ANSI strictness is off, the C compiler allows C++-style comments. The following listing shows an example.

Listing: C++ Comments

a = b;    // This is a C++-style comment.
c = d;     /* This is a regular C-style comment. */