Hmm, I think the answer is B. The post-decrement operator will cause the value of i to be printed first, and then it will be decremented. So the output should be '3210'.
Haha, that's a classic one! I remember getting tripped up by the post-decrement operator before. This is going to be a good test of our attention to detail.
Okay, let's think this through. The code is incrementing the value of i by 1 in each iteration, so it should print the numbers in descending order, right?
Makeda
10 months agoIluminada
10 months agoTherese
9 months agoReta
10 months agoDomitila
10 months agoMagnolia
11 months agoHarley
11 months agoDonte
11 months agoNoah
10 months agoTom
10 months agoMeaghan
10 months agoSamira
10 months agoHorace
10 months agoLouis
10 months agoPa
11 months agoJovita
11 months agoGerardo
11 months ago