The problem in that iteration expression lies in the postfix incrementation. As Thomas tried to explain, in that particular iteration expression the value of i actually never changes.
In that assignment the post-fix incrementation increments only the
value of i as it was before the assignment. I'll try explain a little better with some pseudo code:
can be read also like this:
I hope that latter example helps you