हिंदी

State True or False. ‘Fall Through’ is possible in ‘if..else’

Advertisements
Advertisements

प्रश्न

State True or False.

‘Fall Through’ is possible in ‘if..else’

सत्य या असत्य
Advertisements

उत्तर

This statement is false.

Explanation:

“Fall through” occurs when execution automatically moves to the next block of code, which is a feature unique to switch statements without break modifiers. In a if..else structure, the blocks are mutually exclusive, meaning only the first matching condition executes, and the rest are completely skipped.

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. (viii) | पृष्ठ ४५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×