| Start |
|---|
| Commenting using the preprocessor Large chunks of code can also be "commented out" using the preprocessor directives |
| /* */ delimited comments A comment starts with a forward slash followed immediately by an asterisk ( The comment above is a single line comment. Comments of this Though it is not strictly necessary, a common style convention with multi-line comments is to put leading spaces and asterisks on the lines subsequent to the first, and the The extra asterisks do not have any functional effect on the comment as none of them have a related forward slash. These Comments cannot be nested. This is because any subsequent To comment blocks of code that contain comments of this type, that would otherwise be nested, see the Commenting using the preprocessor (opens new window) example below |
| // delimited comments C99 introduced the use of C++-style single-line comments. This type of comment starts with two forward slashes and runs to the end of a line: This type of comment does not allow multi-line comments, though it is possible to make a comment block by adding several single line comments one after the other: This type of comment may be used on its own line or at the end of a code line. However, because they run to the end of the line, they may not be used within a code line |
| Possible pitfall due to trigraphs While writing The The Syntax
|
Read Article
https://develop.horje.com/learn/1434/reference