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