Computer Science, asked by paulsaumya08, 3 months ago

default is the statement in switch cases​

Answers

Answered by cutegirl200630
2

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. ... A case or default label can only appear inside a switch statement.

Answered by diksha99958
1

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. ... A case or default label can only appear inside a switch statement.

Similar questions