1 2 3 4 5 6 7 8 9 10
#include <stdio.h> extern void func2(void); int main(int argc, char *argv[]) { printf("Hello from subdir2/prog2.c\n"); func2(); return 0; }