1 #include <stdio.h> 2 3 extern int foo(void); 4 5 int main(void) { 6 printf("foo=%d\n", foo()); 7 return 0; 8 } 9