in Programming and DS
556 views
0 votes
0 votes
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??
in Programming and DS
556 views

1 Answer

2 votes
2 votes

No,CONTINUE is not allowed in DEFAULT case of switch-case.

Here see output of code (using continue statment DEFAULT case )

for more -