Effects of the `extern` keyword on C functions
- by Elazar Leibovich
In C I did not notice any effect of the extern keyword used before function declaration.
At first I thougth that when defining extern int f(); in a single file forces you to implement it outside of the files scope, however I found out that both
extern int f();
int f() {return 0;}
And
extern int f() {return 0;}
Compiles just fine, with no…