Vidyalelo
C Programming · Q5

C Preprocessor

Programming · C Programming · question 5

Q5

What is the result of the #ifdef DEBUG directive if the DEBUG macro is defined?

A.
The code block following it is included
Answer
B.
The code block following it is excluded
C.
It generates a compilation error
D.
It defines the DEBUG macro

Answer: Option A

Solution

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