What is the value stored in x after evaluating the expression? x=10; x *= x++ + ++x *5 - x--;
Answers
Answered by
0
Answer:
Mark Me as Brainleast and follow me...
Explanation:
x++ =5 so..
5*2 = 10
(x=6 here the increment happends after the value is used)
3*5 ➡(1 is taken from x first before the value is used this is why its 5 again)
5*2 = 10
3*5 = 15
x = 25
Similar questions
English,
4 months ago
Math,
4 months ago
English,
4 months ago
Social Sciences,
1 year ago
English,
1 year ago