Computer Science, asked by Juned95591, 8 months ago

Q6) What will be the result stored in x after evaluating the following expression? int x=4; x += (x++) + (++x) + x;

Answers

Answered by pallavi7721
58

Answer:

x + = x++ + ++x + x

x+ = 4 + 6 + 6

x+ = 16

x = 20

Answered by koyalchakraborty
24

Answer:

20

Explanation:

x+ = (x++) + ( ++x) + x

= 4+(4+6)+6

= 20

Similar questions