ProgrammingEasyHCL · Tech Mahindra pattern

A line such as #include <stdio.h> is processed by:

  1. A. The preprocessor, before compilation proper
  2. B. The loader at run time
  3. C. The linker
  4. D. The assembler

Correct answer: A. The preprocessor, before compilation proper

Lines starting with # are preprocessor directives. #include pastes the header's text into the file before the compiler sees it; the linker later resolves the library functions themselves.

More C Programming questions

Exams that ask this topic