Advertisements
Advertisements
प्रश्न
In a switch statement, why is it necessary to use break after each case?
थोडक्यात उत्तर
उत्तर
- In a switch statement, the break statement terminates the block.
- If the break is not used, the control will keep on executing other cases under the switch block.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?