Computer Science, asked by raghav142006, 3 months ago

(t) Give the output of the following expression:
a+= a++ + ++a + -a + a--; when a = 7;
Ans. 7 + (7 + 9 + 8 + 8) = 39
explain how 9 came​

Answers

Answered by Oreki
2

Output

  39

Explanation

 Given, a = 7, then,

    > a += a++ + ++a + --a + a--;

    > a += 7 + 9 + 8 + 8

    > a += 32  or  a = a + 32

    > a = 7 + 32

    > a = 39

Similar questions