Advertisements
Advertisements
प्रश्न
In a switch case, when the switch value does not match with any case then the execution transfers to the default case.
विकल्प
True
False
MCQ
सत्य या असत्य
उत्तर
This statement is True.
Explanation:
In a switch statement, control is transferred to the default case if none of the case values match the switch expression. When none of the other cases match, the default case is run. If there is no default case or match, the switch statement will simply exit.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?