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. signed and unsigned representation is available for.?
Q. What is the output of C Program?
Q. Which of the following is a Compound assignment operators?
Q. What is the similarity between enum and struct ?
Q. Find a C Storage Class below.
Discusssion
Login to discuss.