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