what is comment in C++ program? What are the two types of comment? Give one example of each.
Answers
Answered by
1
Explanation:
C++ comments come in two flavors: single-line comments and multiline comments. Single-line comments are accomplished using a double slash (//). The double slash tells the compiler to ignore everything that follows, until the end of the line.
Hope it well help you
Similar questions