What is displayed on the console after thefollowing code fragment has executed?

int x=2;

cout << ++x;

cout << x++;