int x=20,y=10,z=5;
Find value of z in:
z+=++x*(y--)-y
Answers
Answered by
7
z=5+(21×(10)- 9)
z=5+(210- 9)
z=5+201
z=206
x=21
y=9
++x means first change the value and then use
x++ means use the value and then change
z=5+(210- 9)
z=5+201
z=206
x=21
y=9
++x means first change the value and then use
x++ means use the value and then change
harleen5:
hope it's correct d;
Similar questions