1.

What will be the output of the program ?_x000D_ #include_x000D_ _x000D_ int main()_x000D_ {_x000D_ enum status {pass, fail, absent};_x000D_ enum status stud1, stud2, stud3;_x000D_ stud1 = pass;_x000D_ stud2 = absent;_x000D_ stud3 = fail;_x000D_ printf("%d %d %d\n", stud1, stud2, stud3);_x000D_ return 0;_x000D_ }

A. 0, 1, 2
B. 1, 2, 3
C. 0, 2, 1
D. 1, 3, 2
Answer» D. 1, 3, 2


Discussion

No Comment Found