what will be the result of the following expression:
1. int x=10 x+=(x++)+(++x)+x
2.int y=5 z=(--y)+y*10+y++
Answers
Answered by
0
Answer:
(1.1}+{-1.1} + {1.2}+{-1.2} +(1.3}+{-1.3} + ... + {2.5} + {-2.5} is ____
https://brainly.in/question/16327499?utm_source=android&utm_medium=share&utm_campaign=question
Answered by
0
Answer:
1. x = 44
2. z = 48
Explanation:
1. x+= (x++)+(++x)+x
x = x + (x++) + (++x) +x
x = 10 + 10 + 12 + 12 (x = 10)
x = 44 (ANS)
2. z = (--y) + y*10 + y++
z = 4 + (4*10) + 4 (y = 5)
z = 4 + 40 + 4
z = 48 (ANS)
******* THANK YOU *******
Similar questions