0
I dont understand what is comment in c++ help me
rosy please help me
2 ответов
+ 3
Comments are used to make code easier to read. It's usually notes with explanation, what does a piece of code actually do. Comments are ignored by compiler, so you can have anything inside them. In C++ you write comments between /* and */ signs. You can also write single line comment after // sign.
There are other threads with the same question on this forum, so next time, search for similar questions first before posting your own.
0
Comments are the lines of code which are ignored by the compiler. That means that they are not executed by the compiler . They are only used for enhance the understandibility of the programmers .
There are two types of comments
1. Single - line
2. Block