Computer Science, asked by ronny83, 1 year ago

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.
Sho2002: Got it ?

Answers

Answered by pritibhamra94pb4for
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

ronny83: i want definition of comments
pritibhamra94pb4for: 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
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
ronny83: ty sho 2002
Answered by Anonymous
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