If x = 20; evaluate ++x and x++.
Answers
Answered by
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