what is the value of y according to the following code
int x= 10, y
x= 2*3
y=x-x/2
x = 2*3 = 6;
y = x - x/2 = 6 - 6/2 = 6 - 3 = 3;
Answer: y = 3
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment