Computer Science, asked by csaptarshi4908, 5 months ago

What is default case in switch???.

Answers

Answered by Anonymous
1

Explanation:

The default statement is executed if no case constant-expression value is equal to the value of expression . If there's no default statement, and no case match is found, none of the statements in the switch body get executed. ... A case or default label can only appear inside a switch statement.

Hope it hlp...

Answered by meenalimboo1310
0

Answer:

The default statement is executed if no case constant-expression value is equal to the value of expression . If there's no default statement, and no case match is found, none of the statements in the switch body get executed.

Similar questions