Vidyalelo
C Programming · Q23

C Preprocessor

Programming · C Programming · question 23

Q23

In C, what is the purpose of the #ifdef directive?

A.
Checks if a macro is defined
Answer
B.
Checks if a macro is not defined
C.
Defines a macro
D.
Includes a header file

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board