1.

What is the output of following code? #include using namespace std; int main() { int I; enum test{a=1,b,c,d,e,f,g,h}; for(i=c;i<=g;i++) cout<<" "<

A. syntax error
B. 3 4 5 6 7
C. 1 2 3 4 5
D. none of these
Answer» C. 1 2 3 4 5


Discussion

No Comment Found