C Preprocessor Question:
Download Questions PDF

The preprocessor provides the ability for _______________.

a) The inclusion of header files
b) The inclusion of macro expansions
c) Conditional compilation and line control.
d) All of the mentioned

Answer:

d
(All of the mentioned)
Explanation:The preprocessor provides the ability for the inclusion of header files, macro expansions, conditional compilation, and line control.

Download C Preprocessor Interview Questions And Answers PDF

Previous QuestionNext Question
The #include directive

a) Tells the preprocessor to grab the text of a file and place it directly into the current file
b) Statements are typically placed at the top of a program
c) both a & b
d) None of a & b
If #include is used with file name in angular brackets

a) The file is searched for in the standard compiler include paths
b) The search path is expanded to include the current source directory
c) Both a & b
d) None of the mentioned