0
What is the use of comments in c++, after all it is keep on ignoring by the compiler??
3 Respuestas
0
so you know what the code is supposed to do. Comments are for people reading the code
0
Comments become much more important if you plan to share your code, or even if you come back to your own code weeks or months later. They are a way to add explanations for why you are doing things the way you are, and to make the program easier for a human to go through and understand
0
thank you:)