C Preprocessor Question:
Download Questions PDF

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

Answer:

a
(The file is searched for in the standard compiler include paths)
Explanation:With the #include, if the filename is enclosed within angle brackets, the file is searched for in the standard compiler include paths.

Download C Preprocessor Interview Questions And Answers PDF

Previous QuestionNext Question
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
What is cpp?