void f() { return ; } void f(void); int main(void) { f(1); }
Standard input is empty
prog.c:6:9: warning: prototype for ‘f’ follows non-prototype definition void f(void); ^ prog.c: In function ‘main’: prog.c:10:5: error: too many arguments to function ‘f’ f(1); ^ prog.c:1:9: note: declared here void f() ^
Standard output is empty