Skip to content
doubtly

1 answer

Best answer

The C++ comments are statements that are not executed by the compiler. The comments in C++ programming can be used to provide explanation of the code, variable, method or class. By the help of comments, you can hide the program code also.
There are two types of comments in C++.
Single Line comment 

             single line comment is shown by "//" 
multi line comment 
           Multi line comment is shown as "/*       */"
Doubtly · 8 Nov 2021 Report
Was this answer helpful?

Your answer

Log in or create a free account to answer this question.