Vidyalelo
C Programming · Q216

Function

Programming · C Programming · question 216

Q216

What will be the output of the following C code? #include #define MIN 0 #if defined(MIN) - (!defined(MAX)) #define MAX 10 #endif int main() printf("%d %d ", MAX, MIN); return 0;

A.
10 0
B.
Compile time error
Answer
C.
Undefined behaviour
D.
Somegarbagevalue 0

Answer: Option B

Solution

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