fork(1) download
  1. #include <stdio.h>
  2.  
  3. static void foo1(void);
  4. void foo2(void);
  5. void bar1(void);
  6. void bar2(void);
  7.  
  8. void (*functions[])(void) = { foo1, foo2, bar1, bar2 };
  9.  
  10.  
  11. int main()
  12. {
  13. return 0;
  14. }
  15.  
  16.  
  17. void foo1(void)
  18. {
  19. }
  20. void foo2(void)
  21. {
  22. }
  23. void bar2(void)
  24. {
  25. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/home/83lEQk/ccHWtP3p.o:(.data+0x8): undefined reference to `bar1'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty