fork download
  1. #include <iostream>
  2. int main()
  3. {
  4. int x=10, y=5;
  5. (++y) = (++x);
  6. std::cout << " y = " << y << " x = " << x << '\n';
  7. }
  8.  
Success #stdin #stdout 0s 2724KB
stdin
Standard input is empty
stdout
 y = 11 x = 11