Advertisements
Advertisements
प्रश्न
State True or False.
In ‘switch.case’, break is necessary after each case.
सत्य या असत्य
Advertisements
उत्तर
This statement is false.
Explanation:
The break statement is optional, not mandatory. Omitting it causes execution to “fall through” into the subsequent case blocks automatically.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1: Revision of Class 9 Syllabus - Exercises [पृष्ठ ४५]
