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