हिंदी

State True or False. In ‘switch case’, only condition of equality can be tested.

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

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 1 Revision of Class 9 Syllabus
Exercises | Q 2. (iv) | पृष्ठ ४४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×