fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int x, y, z;
  5. x=y=z=1;
  6. z = ++x;
  7. z = ++y;
  8. z = ++z;
  9. printf("x=%d, y=%d, z=%d", x, y, z);
  10. return 0;
  11. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
x=2, y=2, z=3