Q
What does #include do in C++?
-
A
The compiler imports a precompiled module at execution
-
B
The linker attaches the iostream library at run time
-
C
The loader loads iostream into memory when the program starts
-
D
The preprocessor textually inserts the header's contents before compilation
Correct Answer:
D. The preprocessor textually inserts the header's contents before compilation
Explanation:
#include is a preprocessor directive that performs textual inclusion. Library code itself is resolved later by the linker.