Advertisements
Advertisements
प्रश्न
State True or False.
In ‘switch case’, only condition of equality can be tested.
चूक किंवा बरोबर
Advertisements
उत्तर
This statement is true.
Explanation:
A
switch statement only tests for exact equality between the control expression and the case constants. It cannot directly evaluate relational inequalities like “greater than” or “less than” in standard programming languages.shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1: Revision of Class 9 Syllabus - Exercises [पृष्ठ ४४]
