Which of following file extensions are accepted with #include?

Which of the following file extensions are accepted with #include?

Which of the following file extensions are accepted with #include? mcq and its answer is provided on this page.

Which of the following file extensions are accepted with #include?

Que. Which of the following file extensions are accepted with #include?
a. a) .h
b. b) .in
c. c) .com
d. d) All of the mentioned
Answer: d
Explanation : The preprocessor will include whatever file extension you specify in your #include statement. However, it is not a good practice as another person debugging it will find it difficult in finding files you have included.


Comments