How can a comment be written in a C++ ?
Answers
Answered by
0
https://goo.gl/search/How+can+a+comment+can+written+in+a+c+%2B%2B
C++ Programming/Code/Style Conventions/Comments ... Comments come either in block form or as single lines. Single-line comments (informally, C++ style), start with // and continue until the end of the line. If the last character in a comment line is a \ the comment will continue in the next line. Multi-line comments (informally, C style), start with /* and end with */ .
hope it helps u a lot plz mark me as a brain list
C++ Programming/Code/Style Conventions/Comments ... Comments come either in block form or as single lines. Single-line comments (informally, C++ style), start with // and continue until the end of the line. If the last character in a comment line is a \ the comment will continue in the next line. Multi-line comments (informally, C style), start with /* and end with */ .
hope it helps u a lot plz mark me as a brain list
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
English,
6 months ago
Math,
6 months ago
French,
6 months ago
Computer Science,
1 year ago
History,
1 year ago