Computer Science, asked by SnehilPrasad, 7 months ago

What is the result stored in x, after evaluating the following expression?

int x=5;

x=x++ *2+3* – –x






this is from computer application​

Answers

Answered by divitv2007
20

Answer:

25

Explanation:

x++ in equation is gonna be x only for the x++*2 part , hence ,

5*2+3*--x

10+3(5+1-1)

10+3*5

10+15

25

Answered by meenakshipotturu
0

Answer:

25

Explanation:

5*2+3*--x

10+3(5+1-1)

10+3*5

10+15

25

Similar questions