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