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