Where does the comment go then?🙄 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Where does the comment go then?🙄

22nd Dec 2018, 5:26 PM
Yashita Singh
3 Answers
+ 3
Which comments? If you are talking in respect to programming then comments are ignored by compiler at lexical analyser phase where all tokens are generated once it read any unknown undefined symbol then it is ignore that
22nd Dec 2018, 5:30 PM
MsJ
MsJ - avatar
+ 1
Comments are still there in the code but when the compiler or interpreter executes each line of code one after another, it just skips those lines starting with a comment symbol. I hope this is the comment you're asking about. Please be specific while asking to get better help.
22nd Dec 2018, 5:32 PM
Шащи Ранжан
Шащи Ранжан - avatar
+ 1
Got it .. Thanks
22nd Dec 2018, 5:33 PM
Yashita Singh