हिंदी

State True or False. In ‘switch.case’, break is necessary after each case.

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 [पृष्ठ ४५]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 1 Revision of Class 9 Syllabus
Exercises | Q 2. (ix) | पृष्ठ ४५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×