+ 3
Why do you put a single line comment at the beginning?
5 Answers
+ 7
Often it can be placed there for the fact that the reader (and editor) gets an explanation on the code's purpose before going deeper into it.
+ 3
comments are ignored by the compiler. so this is up to you, you can put comments when ever you want
+ 3
cool thanks
+ 2
For better understanding
0
easy way