+ 2

Hey anyone tell me what comments in c++ I don't understand?

help me

20th Feb 2018, 3:33 PM
Adithya Kumar
Adithya Kumar - avatar
5 Answers
+ 12
In C++ Single line comment is:-) // This won't execute Multi line comment is:-) /* This won't execute*/
20th Feb 2018, 3:41 PM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
+ 2
thanks for helping abhi Varshini
20th Feb 2018, 3:43 PM
Adithya Kumar
Adithya Kumar - avatar
+ 1
ohh!! thanks jax
20th Feb 2018, 3:37 PM
Adithya Kumar
Adithya Kumar - avatar
0
Comments will inform someone reading the code, what is going on. For instance: //this is printing something print(“hello”) That way, when you are reading the code it’s easy to find something.
20th Feb 2018, 3:36 PM
Jax
Jax - avatar
0
You are very welcome! Glad to help! 😉
20th Feb 2018, 3:38 PM
Jax
Jax - avatar