Possible Duplicate:
Is there a performance difference between i++ and ++i in C++?
Difference between i++ and ++i in a loop?
I know that a++
return the original value of a
and then add one to a
, while ++a
increment a
by one and return a
. But I can´t see how this is different in a for loop.