0
Whats functional diffrence b/w singel lime and double lime comments?
4 odpowiedzi
+ 2
Medhansh Parashar Technically, there is no difference. All forms of comments are ignored by a compiler.
It is simply based on preference. If your comment needs to span multiple lines, use a multi-line comment(or several single line ones). If it can accomodate a line, use a single line comment.
+ 2
First correct your spellings and question u cannot say double line comments 😀
https://www.sololearn.com/discuss/1201/?ref=app
https://www.sololearn.com/discuss/1322450/?ref=app
https://www.sololearn.com/discuss/729588/?ref=app
https://www.sololearn.com/discuss/100743/?ref=app
+ 1
I don't think there is anything to explain in that. It is understood from the name: single-line comments are comments that span 1 line
// single-line comment
& multi-line comments are comments that span multiple lines
/*
this
is
a
comment
*/
+ 1
HonFu lmao🤣