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
3 months agoIluminada
3 months agoTherese
2 months agoReta
2 months agoDomitila
2 months agoMagnolia
3 months agoHarley
4 months agoDonte
4 months agoNoah
2 months agoTom
2 months agoMeaghan
3 months agoSamira
3 months agoHorace
3 months agoLouis
3 months agoPa
3 months agoJovita
4 months agoGerardo
4 months ago