C++ comments

Comments are used to enhance readability of your program. To understand your code logic.

Comments

  • single line comments
  • Multi-line comments

Multi line comments can’t be nested.

Summary