for loop does not produce different value in C (++i, i++)

There are absolutely no difference between these two snippets. i++ vs ++i only matters when mixed with other operators in the same expression. Which is a bad idea most of the time, since i++/++i comes with a side effect.