fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int b = 1;
  5. int res = b++ * b++ * b++;
  6. printf("%d", res);
  7. return 0;
  8. }
  9.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:5:28: error: operation on ‘b’ may be undefined [-Werror=sequence-point]
     int res = b++ * b++ * b++;
                           ~^~
prog.c:5:28: error: operation on ‘b’ may be undefined [-Werror=sequence-point]
cc1: all warnings being treated as errors
stdout
Standard output is empty