C Programming Preprocessor Multiple choice question

Exercise : - Multiple Choice Question On C Programming, MCQ C Programming Preprocessor

This section contains a lot of c programming question and answer with explanation on the topic preprocessor. These question and answer are very much helpful for interview(campus interviews, walkin interviews, company interviews), competitive examination ,entrance test and placements. Each question having answer and explanation that would help you to understand easily. These question are designed from basic to advance level. So anyone can learn from here (beginner, fresher, engineering graduate, an experienced IT professional).

All the question of c programming are listed below on preprocessor along with detailed explanation / solution and answer.

1) A macro must always be written in capital letters.
A. True
B. False

Answer:

False

Option:

( B )


Explanation :

No explanations available for this question.


2) How many #include directives can be there in a given program file?
A. only one
B. Two
C. None of the Above
D. As many as you desire

Answer:

As many as you desire

Option:

( D )


Explanation :

No explanations available for this question.


3) A header file is
A. A file that contains standard library functions
B. A file that contains user - defined functions
C. A file that contains definitions and macros
D. A file that is present in current working directory

Answer:

A file that contains definitions and macros

Option:

( C )


Explanation :

No explanations available for this question.