What is default case in switch???.
Answers
Answered by
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
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