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