exact definition of comments in c++
Sho2002:
Comments are portions of the code ignored by the compiler which allow the user to make simple notes in the relevant areas of the source code.
Answers
Answered by
0
C++ is a general-purpose object-oriented programming (OOP) language, developed by Bjarne Stroustrup, and is an extension of the C language. It is therefore possible to code C++ in a "C style" or "object-oriented style." In certain scenarios, it can be coded in either way and is thus an effective example of a hybrid language
Answered by
0
comment is used to describe some additional information about a statement or a block of statement in a program.
In c++ comment has two types:-
- single lined comment - //...
- multi lined comment - /*...*/
Similar questions
Math,
7 months ago
Math,
7 months ago
Hindi,
7 months ago
Social Sciences,
1 year ago
Hindi,
1 year ago