Vidyalelo
C Programming · Q12

C Preprocessor

Programming · C Programming · question 12

Q12

In C, how do you use the #ifdef directive to conditionally include code if a macro is defined?

A.
#ifdef MACRO
Answer
B.
#ifdef(MACRO)
C.
#ifdef:MACRO
D.
#ifdef: MACRO

Answer: Option A

Solution

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