fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x = 1;
  6. int y = 1;
  7. int z = x++ + ++y;
  8. std::cout << z << std::endl;
  9. return 0;
  10. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
3