Computer Science, asked by T4Talent, 1 year ago

(i) Give the output of the following expression :
a+=a++ + ++a + -–a + a-– ;
when a = 7

Answers

Answered by tiara5
115

Ans. 
a+=a++ + ++a + –-a + a–- ;
a = 7 + (a++ + ++a + -–a + a–-);
a = 7 + (7 + 9 + 8 + 8);
a = 39
Answered by sammy89
15
39
Its first we have to increment and again increment followed by two decrement ....
Similar questions