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
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
0
Answer:
25
Explanation:
5*2+3*--x
10+3(5+1-1)
10+3*5
10+15
25
Similar questions