What are comments?

Comments are written in source code (source program) for documentation purpose as while compiling, the compiler discards these comments from the code. Its main usage is to give descriptions about the source code so that it can be understood by other programmers if they wish to use that program for future development.
C and C++ support two ways to insert comments:
// single line comment
/* multiple lines comment */

More Questions

Leave a Reply

Word Verfication * Time limit is exhausted. Please reload CAPTCHA.