0

Please guys what is comments in programming

17th Aug 2017, 5:08 PM
Osman Abdul Basit
Osman Abdul Basit - avatar
2 odpowiedzi
+ 2
Comments are sentences that YOU The User can Read. Comments Can Not Be Read by the COMPUTER - which interprets your code. The COMPUTER basically skips the Comment as if it is not there. Comments are mainly used to say: "This piece of code does this, that does that". Use them for that purpose. In C++ or any other C Languages and Most Other Languages, the "//" phrase creates a single line comment. The "/*" and "*/" phrases create and end a multiple-line comment. Thanks for asking. Glad to be of help.
17th Aug 2017, 5:15 PM
ghostwalker13
ghostwalker13 - avatar
+ 2
thank you guys
17th Aug 2017, 5:32 PM
Osman Abdul Basit
Osman Abdul Basit - avatar