#include <iostream>using namespace std; int main() { int x = 5; cout << ++x << '\n'; cout << x++ << '\n'; cout << x << '\n';}
Standard input is empty
6 6 7
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!