Computer Science, asked by bazigarooo, 7 months ago

What is the result stored in x, after evaluating the following expression? int x = 5; x = x++ *2 + 3 * – x;​

Answers

Answered by Anonymous
5

Answer:

x = 25

hope this helps you

Answered by Anonymous
5

 \sf \: int \: x \:  = 5; \\  \sf \: x \:  =  \: {x ++ } \:  \:  \: ^{*} 2 \:  +   {3}^{*}  \:  - \:  x;  \\  \\  \:  \sf \: x \:  =  \:  {5} \:  \:  ^{*}2 + {3}^{*}  - 6 \\  \\  \sf \: x \:  =  \: 10 + ( - 18) \\  \\  \sf \: x \:  =  \: 10 - 18 \\  \\  \sf x \:  =  \:  - 8 \:  \: ...(ans)

Similar questions