What is the difference between /** */ and /********** **********/ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between /** */ and /********** **********/

10th Aug 2017, 10:54 PM
Dimitris Kele
Dimitris Kele - avatar
3 Answers
+ 5
Adding more *'s does nothing. The *'s are simply getting commented out. From the first /* to the ending */
10th Aug 2017, 11:45 PM
Rrestoring faith
Rrestoring faith - avatar
+ 3
I think you are trying to do a comment. You do /* to open the comment and */ to close it example: Some Code /* your comment goes there */ Some other code
10th Aug 2017, 11:11 PM
BinaryNeuron
BinaryNeuron - avatar
0
No difference, it's only decoration
10th Aug 2017, 11:11 PM
Jojo