What is comments and how to use it into C++?

Comments are the lines of code which is not compiled and executed by the developer. It is used for making programming easier for the developer. Developer can write the details of the particular code using comments.

There are two types are comments.

  • Single line comments
  • Multiline comments

For Example:-


Leave a Reply