Computer Science, asked by anubhapandey54, 5 months ago

Evaluate the following (Also show the working), int x=6; x+=x++ - ++x * 5;​

Answers

Answered by Anonymous
1

Answer:

x = x++ + ++y; (1)

y = ++x + ++y; (2)

In (1) this is the following operations to be done.

i) ++y

ii) x = x+y

iii) x ++

In (2) this is the following operations to be done.

i) x ++

ii) y++

iii) y = x + y

Explanation:

Similar questions