both prefix and postfix will increase the variable by one.
however, whether the "++" is near of far from the "=" acts differently.
j=i++ meane j=i
j=++i means j=(i+1)
in other words, if "++" is near "=", then it counts. otherwise, it does not affect the initialization value of "j".