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:
AndreyT 2022-01-19 19:20:21 -08:00 committed by GitHub
parent 9037b7b4c8
commit f8ab4773aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
c/C.c
View File

@ -1,6 +1,5 @@
#include <stdio.h>
int main() {
int main(void) {
printf("Hello World\n");
return 0;
}