fork(1) download
  1. #include <stdio.h>
  2.  
  3. int foo()
  4. {
  5. return 4;
  6. }
  7.  
  8. int bar(void)
  9. {
  10. return 4;
  11. }
  12.  
  13. int main(void)
  14. {
  15. foo(1,2,3,4,5);
  16. /* bar(1,2,3,4,5); */ /*error: too many arguments to function ‘bar’*/
  17. bar();
  18. return 0;
  19. }
  20.  
Success #stdin #stdout 0s 2288KB
stdin
Standard input is empty
stdout
Standard output is empty