Computer Science, asked by singhpooja8300, 4 months ago

2. Give the output of the following expression:
a+=a++ + ++a + -a + a-, when a=7

Answers

Answered by anishaarora89
0

Answer:

2

Explanation:

a =a+(a++ + ++a + -a + -a)

= 7 + ( 7 + 9 + (-9) +(-9))

= 7+ (7+9-9-9)

= 7 + (-2)

=7-5

= 2

Similar questions