Explanatory statements can be included in the C++ code as programme comments. Anyone reading the source code will benefit from these remarks. All programming languages provide comments in some way.
Single-line and multi-line comments are supported in C++. The C++ compiler ignores all characters available inside each comment.
Comments in C++ begin with /* and finish with */.
A comment can also start with //, extending to the end of the line.