+ 2
Hey anyone tell me what comments in c++ I don't understand?
help me
5 Respuestas
+ 12
In C++
Single line comment is:-)
// This won't execute
Multi line comment is:-)
/* This
won't
execute*/
+ 2
thanks for helping abhi Varshini
+ 1
ohh!! thanks jax
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.
0
You are very welcome! Glad to help! 😉