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