Advertisements
Advertisements
Question
State True or False.
In ‘switch.case’, break is necessary after each case.
True or False
Advertisements
Solution
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
Is there an error in this question or solution?
Chapter 1: Revision of Class 9 Syllabus - Exercises [Page 45]
