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