int a=7, evaluate the following expression :
a+= a++ + ++a + --a + a--
Answers
Answered by
3
Question:-
➡ If a=7, evaluate a+=a++ + ++a + --a + a--
Answer:-
➡ The value of a is 39.
Solution:-
Initially,
a=7
a += a++ + ++a + --a + a--
➡ a = 7 + 7 + 9 + 8 + 8
➡ a = 39
Hence, the final value of a is 39.
Similar questions