Computer Science, asked by bansithakkar, 1 year ago

give the output of the following expression a+=a+++ ++a + --a +a-- when a=7

Answers

Answered by Rajdeep11111
28
Hello there!!
I'm Rajdeep....

a = 7 (Initial value of a is 7)
We have to find a = a + a++ + ++a + --a + a--
= 7 + 7 + 9 + 8 + 8
= 39

That's your answer...
Thanks
Please follow to get more answers!


Answered by akshayjayakandhan11
1

Answer:

a = 7 + (a++ + ++a + -–a + a–-);

a = 7 + (7 + 9 + 8 + 8);

a = 39

Explanation:

Similar questions