ProAnswers.org

What does extern mean in a function declaration?

It refers to a variable which is not actually in your program. For instance,
main() {
extern int bar;
printf("%d
", bar);
return 0;
}
will compile without errors because bar is declared as being external. (It won’t run, though, because you never assign bar a value.)