← Quiz: C Introduction: all 10 questions
Quiz: C Introduction · Question 8 of 10
What happens to comments when a C program is built?
What happens to comments when a C program is built?
- A.They are printed when the program runs
- B.They are removed before compilation and have no effect on the program
- C.They make the program slower
- D.They are stored in the .exe file as help text
Answer & explanation
Correct answer: They are removed before compilation and have no effect on the program
Comments are only for people reading the code; the preprocessor strips them out.
Can you get the rest right without peeking?
Take the timed Quiz: C Introduction quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →