fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int i = 1, j= 1;
  6. std::cout << i++ << " " << ++j << std::endl;
  7. std::cout << i << " " << j << std::endl;
  8. }
Success #stdin #stdout 0s 3460KB
stdin
Standard input is empty
stdout
1 2
2 2