|
|
Comments begin with the characters /* and end with the next */.
/* this is a comment */Except when the option -Xc is used, everything following // on the same logical line are also treated as comments:
// this is also a commentComments do not nest.
If a comment appears to begin within a string literal or character constant, it will be taken as part of the literal or constant, as specified by the phases of translation.
char *p = "/* this is not a comment */"; /* but this is */