1.

What will be the output of the program ?_x000D_ #include_x000D_ _x000D_ int main()_x000D_ {_x000D_ enum days {MON=-1, TUE, WED=6, THU, FRI, SAT};_x000D_ printf("%d, %d, %d, %d, %d, %d\n", ++MON, TUE, WED, THU, FRI, SAT);_x000D_ return 0;_x000D_ }

A. -1, 0, 1, 2, 3, 4
B. Error
C. 0, 1, 6, 3, 4, 5
D. 0, 0, 6, 7, 8, 9
Answer» C. 0, 1, 6, 3, 4, 5


Discussion

No Comment Found