fork download
  1. void f() {
  2. return;
  3. }
  4.  
  5. void g(void) {
  6. return;
  7. }
  8.  
  9. int main(void) {
  10. f();
  11. f(1);
  12. g();
  13. g(1);
  14. }
  15. /* end */
  16.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:13:3: error: too many arguments to function ‘g’
   g(1);
   ^
prog.c:5:6: note: declared here
 void g(void) {
      ^
stdout
Standard output is empty