+ 2
Hey anyone tell me what comments in c++ I don't understand?
help me
5 Answers
+ 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! đ