Computer Science, asked by shivam13112003, 8 months ago

what is the purpose of default statement in switch statement​

Answers

Answered by shuklaanshu03
1

Answer:

Explanation:

When value passed through the switch do not match with case label,default is executed.

Answered by geethuambar
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