Author
anonymous
almost 5 years ago
C
gcc 10.1.0
$ gcc prog.c -Wall -Wextra -std=gnu11
prog.c:2:6: warning: return type of 'main' is not 'int' [-Wmain] 2 | void main() | ^~~~ please enter number:the new number is 10
prog.c:2:6: warning: return type of 'main' is not 'int' [-Wmain] 2 | void main() | ^~~~
please enter number:the new number is 10