मराठी

If a = 12, give the value of the following expression: ++a

Advertisements

प्रश्न

If a = 12, give the value of the following expression:

++a

संख्यात्मक
Advertisements

उत्तर

Given: a = 12

Expression: ++a

The pre-increment operator first increases the value of a by 1 and then uses the updated value.

a = 12 + 1 = 13

  • Value of expression (++a) = 13
  • New value of a = 13
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: Variables and Expressions - EXERCISE [पृष्ठ १३५]

APPEARS IN

धीरज मेहरोत्रा Computer Science [English] Class 12
पाठ 6 Variables and Expressions
EXERCISE | Q 59. (b) | पृष्ठ १३५
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×