fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int a = 3 + 5, b = 1, c;
  6. int ap, bp;
  7. ap = ++a;
  8. bp = ++b;
  9. b = 3 * (ap == 8);
  10. c = 5 * (ap != 8);
  11. printf("%d %d %d %d %d", a, b, c, ap, bp);
  12. }
  13.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
9 0 5 9 2