Author
anonymous
over 4 years ago
C
gcc 10.1.0
$ gcc prog.c -Wall -Wextra -std=c99 -pedantic
prog.c:12:6: warning: return type of 'main' is not 'int' [-Wmain] 12 | void main(){ | ^~~~ 0 0 0 0 0 0 0 0 0 0 1 2 3 4 5 6 7 8
prog.c:12:6: warning: return type of 'main' is not 'int' [-Wmain] 12 | void main(){ | ^~~~
0 0 0 0 0 0 0 0 0 0 1 2 3 4 5 6 7 8