1.

What will be the output of the following C code?
 #include <stdio.h>
#define Winter
int main()
{
#ifdef Winter
printf("Winter t");
#undef Winter
#endif
#ifdef Winter
printf("Summer t");
#endif
}

A. Garbage value
B. Summer
C. Winter
D. Compilation Error
E. None of these
Answer» D. Compilation Error


Discussion

No Comment Found

Related MCQs