Comments


Single line comments '//'

The compiler simply ignores them. Beneficial for readers and labelling your program parts.
//This is a comment

Multiple or Block comments '/*....*/'

Everything that falls between them is regarded as comments.
/*This is a comment
 continue
comment ends here */
c++ source codes