Q102
What will be the output of the following C code? #include #define COLD int main() #ifdef COLD printf("COLD "); #undef COLD #endif #ifdef COLD printf("HOT "); #endif
A.
HOT
B.
COLD
AnswerC.
COLD HOT
D.
No Output
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board