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