Comments
Comments
Comments serve as a sort of in-code documentation. When inserted into a program, they are effectively ignored by the compiler; they are solely intended to be used as notes by the humans that read source code.
Syntax
/* comment */ | (1) | |
// comment\n | (2) | (since C99) |
1) Often known as "C-style" or "multi-line" comments.
2) Often known as "C++-style" or "single-line" comments.
All comments are removed from the program at 登录查看完整内容