Computer Science, asked by bibimariyam871, 5 months ago

b. Give the output of the following expressions:

a + = a + + + + + a + - -a + a - -; when a = 7​

Answers

Answered by anindyaadhikari13
2

Answer:-

Given,

a=7

a+= a++ + ++a + --a + a--

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

>> a=7+7+9+8+8

>> a=14+16+9

>> a=30+9

>> a=39

Hence, the final value of a after execution is 39.

Similar questions