हिंदी

The statement p + = 5 means p = p*5. - Computer Applications

Advertisements
Advertisements

प्रश्न

The statement p + = 5 means p = p*5. 

विकल्प

  • True

  • False 

MCQ
सत्य या असत्य

उत्तर

This statement is False.

Explanation:

The statement p + = 5 is improper syntax in most computer languages, including Java and C++. The correct compound assignment operator for addition is p + = 5, which indicates p = p + 5, rather than p = p * 5. 

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.04: Operators in Java - EXERCISES [पृष्ठ ४३]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.04 Operators in Java
EXERCISES | Q II. 7. | पृष्ठ ४३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×