Why comments ignore? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Why comments ignore?

2nd Dec 2018, 4:52 PM
Sanjay Sanju
Sanjay Sanju - avatar
2 Antworten
+ 2
Are you talking about the comments written in a source code? The point of these comments is to help the reader understand the code better. You want these comments not to have any effect on your program.
2nd Dec 2018, 6:16 PM
HonFu
HonFu - avatar
+ 2
When the program is compiling, the comments are knocked off at the first stage. That is when the program is compiling, first of all all the spaces are removed and the compiler interprets the comments as one "space" character, so they are actually removed before the program is compiled.
17th Mar 2019, 6:22 AM
Alex Ed
Alex Ed - avatar