well i wouldn't trust it since it is possible that a compiler might complain..
but that's everyone's own choice, i just prefer main(void) over main(), (this also goes for all other functions that have no arguments).
and i also prefer this code:
over this code:Code:#include <stdio.h> int main(void) { printf("Hello World!\n"); return 0; }
although both are the same...Code:#include <stdio.h> int main(void){printf("Hello World!\n");return 0;}




Reply With Quote