Computer Science, asked by deepak5780singh, 2 months ago

If x = 20; evaluate ++x and x++.​

Answers

Answered by kamalrajatjoshi94
5

Answer:

++x=21

x++=21

Both will result in 21 as in pre increment 1st the value is incremented then assigned so assigned value is 21.

And the final value is 21 so x++ is also equals to 21.

Similar questions