In C, what is the difference between using ++i and i++, and which should be used in the incrementation block of a for loop?
++i
i++
for
You can think of internal conversion of that as a multiple statements;
i++;
you can think it as,
i; i = i+1;
++i;
i = i+i; i;