Recent questions tagged switch-case

1 votes
2 answers
1
int main() { int a =50; switch(a) { default: a=45; case 49: a++; case 50: a ; case 51: a =a+1; } printf("%d",a); }my doubt is the default case is not executed here why??,...
0 votes
1 answer
3
BREAK can be used in switch-case but CONTINUE is not allowed in switch-case but CONTINUE is allowed in DEFAULT case of switch-case..is it correct??
3 votes
2 answers
4
To see more, click for the full list of questions or popular tags.