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