The preincrement will increase the value then the compiler will use the new value. The postincrement will increase the value after the variable have been used.
EX:
a=0;
a++;
the computer will use the a=0 value then make a=1
If u put a=0;
++a;
the computer will increment a to 1 then use the value (directly 1)