Can someone pls explain extensively the functions of comments | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can someone pls explain extensively the functions of comments

7th Sep 2019, 3:24 AM
opemipo olagoke
opemipo olagoke - avatar
9 Answers
+ 8
Things we write in comments are ignore by compiler we just write it for understanding of code
7th Sep 2019, 5:25 PM
Ayushi Gujarati
Ayushi Gujarati - avatar
7th Sep 2019, 3:58 AM
Sonic
Sonic - avatar
+ 3
Comments are used to clarify the purpose of the program or the purpose of some statements in the program .Comments come handy when we write long program.
8th Sep 2019, 6:45 AM
Noor ❤
Noor ❤ - avatar
+ 2
Thank u bruh
7th Sep 2019, 4:00 AM
opemipo olagoke
opemipo olagoke - avatar
+ 2
Thank u saeed
7th Sep 2019, 4:50 AM
opemipo olagoke
opemipo olagoke - avatar
0
Comment is use for the diacribe the meaning of that input or any function or meaning the code.understanding for coder, and the comment is ignore by compiler when coder is compile the code
7th Sep 2019, 7:18 PM
Ananta Khare
Ananta Khare - avatar
0
comments are used to guide the reader when they are coding
27th Sep 2019, 7:57 AM
Tracy Mapoma
Tracy Mapoma - avatar
0
What you write in a comment is not compiled because it’s not code. It’s just text and you can use it to write things that can help you to remember what you need to about any line or code block.
30th Sep 2019, 3:54 PM
Jonathan Silva Soares
Jonathan Silva Soares - avatar
0
they are just there to help whoever might use your code to understand better. it also helps you when your revisit old codes you did to be easier to follow your code
24th Jan 2021, 2:56 PM
Siyabonga Mkhize
Siyabonga Mkhize - avatar