Technical Discussion :: C++
Home > Technical Interview Q&A > C++ > Discussion
5 / 187
What is a preprocessor?
Answer:
Preprocessor directives are lines included in the code of programs preceded by a hash sign (#
). These lines are not program statements but directives for the preprocessor. The preprocessor examines the code before actual compilation of code begins and resolves all these directives before any code is actually generated by regular statements.
Asked In ::
CHILUKURI SANDEEP
23 Feb, 2019 5:07 AM
Preprocessor directives are lines included in the code of programs preceded by a hash sign (#
). These lines are not program statements but directives for the preprocessor. The preprocessor examines the code before actual compilation of code begins and resolves all these directives before any code is actually generated by regular statements.