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