

InterviewSolution
Saved Bookmarks
1. |
Point out the error, if any in the program. |
Answer» switch(i) becomes switch(1), then the case 1: block is get executed. Hence it prints "Case1". printf("This is c program."); is ignored by the compiler. Hence there is no error and prints "Case1". | |