Did the comment affect the size of the programe? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Did the comment affect the size of the programe?

comment

16th Oct 2016, 8:10 PM
amine
7 Answers
+ 12
Comments are ignored by the compiler, so they don't affect the size of the compiled program. They only affect the size of the source code.
16th Oct 2016, 8:13 PM
Zen
Zen - avatar
+ 1
The source code is what you type.
16th Oct 2016, 8:20 PM
Zen
Zen - avatar
+ 1
Source code is your actual 'code' of your program. Comments are entirely different, they're ignored and do not affect the computer to 'read' it, simply because it doesn't exist for computers. The sole reason / purpose for comments is for human eyes. So, no.
17th Oct 2016, 3:37 AM
David
David - avatar
0
only affect size of source code means?
16th Oct 2016, 8:16 PM
Jay Patil
Jay Patil - avatar
0
no... comment line ignnor by compiler
17th Oct 2016, 5:13 AM
Rajnandan Kushwaha
Rajnandan Kushwaha - avatar
0
No, not really.
21st Oct 2016, 8:07 AM
Jamie Schiantarelli
Jamie Schiantarelli - avatar
0
@jay patil : because of unnecessary comments source code would not look well structured
25th Oct 2016, 9:20 PM
Chaitan