- 1

// this is a single line comment x=5 //

i'm still confuse with this code pliss give an example

1st Jun 2017, 7:47 AM
PanjiJr.com
6 Answers
+ 17
What's your question?
1st Jun 2017, 7:55 AM
Dev
Dev - avatar
+ 13
~_~
1st Jun 2017, 7:55 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
Try it On Code Playground! ^_^
1st Jun 2017, 8:08 AM
jamilxt
jamilxt - avatar
+ 1
I didn't quite understand the question properly but anyway, The statement you provided is in 2 lines. // doesn't need a closing set of //. The correct way would be // this is a single line comment // x=5
1st Jun 2017, 12:39 PM
karthik g
karthik g - avatar
0
Comment is something which won't be compiled in compiler. ^_^ Comment is some text to help you as well as others to understand code you did on which purpose. Practicing commenting in your code will help you to debug your bug in your program. - Go to Code PlayGround and try that code. It will turn into gray because this won't be compiled. Hope, you get it. ^_^
1st Jun 2017, 9:33 AM
jamilxt
jamilxt - avatar
0
//best question I've ever heard! :)
1st Jun 2017, 1:26 PM
DEF4LT_
DEF4LT_ - avatar