5. In the following code, what is the final value of b
int a =0, b;
for (int i = 20; i>0; i=i-5)
{
b=a++;
}
a. 3
b. 4
c. 5
d. 20
Answer: a. 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