Is there a difference in ++i and i++ in a for loop? Is it simply a syntax thing?
++i
i++
for
It boggles my mind why so may people write the increment expression in for-loop as i++.
In a for-loop, when the 3rd component is a simple increment statement, as in
for (i=0; i
or
there is no difference in the resulting executions.