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