Computer Science, asked by kadamgirish321, 4 months ago

What will be the output, if int x = 20, y=10?

int z = ++x * (--y) – y;​

Answers

Answered by anindyaadhikari13
2

Answer:-

Given,

x=20, y=10

z=++x*(--y)-y

>> z=21*9-9

>> z= 9*(21-1)

>> z=9*20

>> z=180

Hence, the final. value of z is 180.

Answered by vocality
1

Answer:

x=20, y=10.

z= ++x * (--y) -y ;

= 21 × 11 - 11 = 231 - 11 = 220.

Explanation:

Please mark me as brainliest.....

Similar questions