for(int i = 0; i <= 4; i++)
cout << i << endl;

for(int i = 0; i <= 4; ++i)
cout << i << endl;

両者に表示結果の違いはありますか?