what is the purpose of default statement in switch statement
Answers
Answered by
1
Answer:
Explanation:
When value passed through the switch do not match with case label,default is executed.
Answered by
3
Answer:
default is used when no there r no matching case in the switch block ..then the statements associated with default will be executed.
Similar questions
English,
4 months ago
Chemistry,
4 months ago
History,
4 months ago
Math,
8 months ago
Hindi,
8 months ago
Political Science,
11 months ago
Environmental Sciences,
11 months ago