What happen if I use single line come but write multi line comment? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What happen if I use single line come but write multi line comment?

What happen if I use this: // I am a Sololearn user. I love Sololearn. Hello everybody.

23rd Aug 2017, 4:02 AM
ⓤⓝⓢⓜⓐⓡⓣ ⓑⓞⓨ
ⓤⓝⓢⓜⓐⓡⓣ ⓑⓞⓨ - avatar
2 Answers
+ 8
Syntax error.
23rd Aug 2017, 5:38 AM
Hatsy Rei
Hatsy Rei - avatar
0
it will output the other lines to the user....use /* comments */
23rd Aug 2017, 5:35 AM
Sam Tezel
Sam Tezel - avatar