P
Q. Determine Output
void main() { int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; } }
The default case can be placed anywhere inside the loop. It is executed only when all other cases doesn't match.
You must be Logged in to update hint/solution
Q. What is the output of the program.?
Q. The members of union can be accessed using ___.
Q. What is the output of this C code?
Q. What are the elements present in the array of the following C code?
Q. Which of the following is not a valid variable name declaration?
Q. ________ function is used to move the file position to desired location within the file
Discusssion
Login to discuss.