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