in case we need to write two or more than two line of comments then what should we use? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

in case we need to write two or more than two line of comments then what should we use?

same as single line comment //?

12th Oct 2016, 8:44 AM
Afia Irfan Beg
Afia Irfan Beg - avatar
2 Answers
+ 5
/* first line second one . . . . */
12th Oct 2016, 10:09 AM
Driss Baidou
Driss Baidou - avatar
+ 1
The same syntaxe as C++ : /* First line 2nd line 3rd line... */
30th Oct 2016, 10:07 AM
DamienR