fork download
  1. #include <stdio.h>
  2.  
  3.  
  4.  
  5.  
  6. int main(void) {
  7.  
  8.  
  9. typedef int (*foo) ();
  10. foo bar () ;
  11. foo (*p)() = bar;
  12. ( void )p ;
  13. return 0;
  14. }
  15.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/home/kbVD77/ccUCllkb.o: In function `main':
prog.c:(.text+0x7): undefined reference to `bar'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty