How to use multi line comment | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use multi line comment

16th Jul 2017, 1:22 PM
Amit Kumar
Amit Kumar - avatar
2 Answers
0
I often use multi-line comments for more detailed explanations of code or to make a list of things to add etc. E.g.: /* Add the following: 1) ... 2) ... */
16th Jul 2017, 1:34 PM
Thomas John
Thomas John - avatar
0
Use starting: forward slash + asterisk /* ending: asterisk + forward slash */ like this: /* etc */
16th Jul 2017, 4:31 PM
Ghulam Mustafa
Ghulam Mustafa - avatar