🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.They are printed when the program runs
  2. B.They are removed before compilation and have no effect on the program
  3. C.They make the program slower
  4. 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 →