Language
C
Compiler
gcc HEAD 9.0.0 20190104 (experimental)
Options
C11(GNU)
no pedantic
$ gcc prog.c -std=gnu11
1
0
1
0
Exit Code:
0
Author
anonymous
about 6 years ago
C
gcc HEAD 9.0.0 20190104 (experimental)
Author
anonymous
about 6 years ago
$ gcc prog.c -std=gnu11
prog.c: In function 'main':
prog.c:3:53: warning: integer overflow in expression of type 'int' results in '-2147483648' [-Woverflow]
3 | printf("%d\n", !(~(2147483647 ^ (2147483647 + 1))));
| ^
1
0
1
0