🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Files and Preprocessor: all 10 questions

Quiz: Files and Preprocessor · Question 5 of 10

When does the preprocessor run?

When does the preprocessor run?

  1. A.After linking
  2. B.Before compilation
  3. C.At runtime
  4. D.Only in debug mode
Answer & explanation

Correct answer: Before compilation

It rewrites the source text (#include, #define) before the compiler sees it.

Can you get the rest right without peeking?

Take the timed Quiz: Files and Preprocessor quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →