Answer the following questions:
(a) If x= 15, y = 3 and z = 6 initially then write the value stored in variable w after evaluating the following:
w=(x - y++) % (z ++);
Answers
Answered by
1
Answer:
since its y++ , now y is incremented by 1 so now-
so the full answer of w will be
12%6=0
the answer is 0.
Explanation:
Answered by
0
Answer:
0
Explanation:
Now as it is already given the values so we will substitute them→
w= ( 15-3)%(6++)
% means the remainder so the remainder is 0
Similar questions