Multiple choice

C pre-processor is a collection of special statements, called directives, which are executed _________.

  1. as and when required

  2. at the end of the compilation process

  3. at the beginning of the compilation process

  4. while running the program

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The C preprocessor processes directives (like #include, #define) at the beginning of compilation, before the actual compilation phase. This is why preprocessor directives can't use C syntax - they're processed by a separate program that prepares the source code for the compiler.