why do you put a single line comment in the beginning | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

why do you put a single line comment in the beginning

1st Nov 2016, 3:42 PM
mattez
mattez - avatar
2 Answers
+ 1
Just write the comment as the following: //comment
2nd Nov 2016, 12:15 AM
Silas Junior
Silas Junior - avatar
0
the comment is in the single line.. thats y we simply use single line comment.. if it's a extend to multiline thereby we have to use multi line comments
2nd Nov 2016, 3:19 AM
Muthumanivel V
Muthumanivel V - avatar