Question #282067

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


Expert's answer

Answer:
a. 3

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS