Update C.c (#1211)
1. `()` function declarations are deprecated in modern C 2. `return 0` at the end of `main` is redundant in modern C
This commit is contained in:
parent
9037b7b4c8
commit
f8ab4773aa
3
c/C.c
3
c/C.c
@ -1,6 +1,5 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
int main(void) {
|
||||
printf("Hello World\n");
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user