Quote:
Originally Posted by DaWei
In this situation, pre- or post-increment doesn't matter. val isn't evaluated until after the incrementing statement. The breakdown of your loop looks like this:
...
Thank you, DaWei! You've made it exceptionally clear!