1.

Point out the error, if any in the program._x000D_ #include_x000D_ int main()_x000D_ {_x000D_ int i = 1;_x000D_ switch(i)_x000D_ {_x000D_ case 1:_x000D_ printf("Case1");_x000D_ break;_x000D_ case 1*2+4:_x000D_ printf("Case2");_x000D_ break;_x000D_ }_x000D_ return 0;_x000D_ }

A. Error: in case 1*2+4 statement
B. Error: No default specified
C. Error: in switch statement
D. No Error
Answer» E.


Discussion

No Comment Found