Vidyalelo
C Programming · Q56

Function

Programming · C Programming · question 56

Q56

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
Answer
B.
Compile time error
C.
Undefined behaviour
D.
Somegarbagevalue 0

Answer: Option A

Solution

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