What will be the output, if int x = 20, y=10?
int z = ++x * (--y) – y;
Answers
Answered by
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
1
Answer:
x=20, y=10.
z= ++x * (--y) -y ;
= 21 × 11 - 11 = 231 - 11 = 220.
Explanation:
Please mark me as brainliest.....
Similar questions
Science,
2 months ago
French,
4 months ago
English,
4 months ago
Science,
10 months ago
Social Sciences,
10 months ago