- 1

can we include two comments in two different lines without using /* and */....and by only using // in starting of two lines?

18th Jun 2016, 6:44 AM
artham abhinay
artham abhinay - avatar
8 Antworten
+ 1
Yes of course you can use //something //something other instead of /*something something other*/ but i think the second way is better for longer comments
18th Jun 2016, 7:48 AM
Klaus
+ 1
yaa!!!
18th Jun 2016, 1:55 PM
ramu lu
ramu lu - avatar
+ 1
absolutely!
19th Jun 2016, 10:13 AM
Francis
Francis - avatar
+ 1
Absolutely
25th Jun 2016, 10:10 AM
Mehaboobmunna Annigeri
Mehaboobmunna Annigeri - avatar
0
Yeah!
21st Jun 2016, 5:01 PM
Fausto Cesare
Fausto Cesare - avatar
0
definitely yes... // is single line comment (so use once per line) /*.....*/ is multi line comment so to be use only use once for multiple line comments
7th Aug 2016, 12:09 PM
Himanshu Bhatt
Himanshu Bhatt - avatar
0
ok I was using the /*.......*/ the wrong way then. thanks guys
9th Sep 2016, 8:21 AM
Tendai Ngoni
Tendai Ngoni - avatar
0
Yes you can
28th Dec 2016, 7:38 PM
Constant Marion
Constant Marion - avatar