Computer Science, asked by angelkavitha, 15 hours ago

x=x-- +y ++x ; when x=5 AND Y=2​

Answers

Answered by ssingharmamata
0

Answer:

If x = 5 and y = 4 ,

Then x = ++x + ++y will be …

x => (1+5) + (1+4)

x => 6 + 5

x => 11.

And value of y was incremented by 1 ,

So , y => 1+4

y => 5.

Hope it helps!!!

Similar questions