Computer Science, asked by aaradhya0910, 15 days ago

If a=10, What will be the result of x after evaluating the statement: x = a++ * 5 + ++a + --a​

Answers

Answered by XxattitudemihiraxX
0

Answer:

\huge \color{purple} \mathcal{ \colorbox{orange}{\colorbox{white}{♣AnSwEr}}}

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

Answered by nihasrajgone2005
1

Answer:

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

please drop some ❤️❤️❤️

Explanation:

please f-o-l-l-o-w m-e bro please

Similar questions