मराठी

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×