Home > Article > Backend Development > What are the comment symbols in C language?
Comment characters in C language are generally divided into two types. One is a paragraph comment that starts with "/*", adds the comment content in the middle, and ends with "*/" symbol. Anything between "/*" and "*/" is a comment.
The other is a single-line comment starting with "//" and followed by the comment content. Anything after "//" is a comment.
Recommendation: "c Language Tutorial"
When the program is compiled, the annotation content will not be processed in any way. Comments can generally appear anywhere in a program. Comments are used to prompt or explain the function of a program to the user or programmer.
The above is the detailed content of What are the comment symbols in C language?. For more information, please follow other related articles on the PHP Chinese website!