"extern" is short of "external" which means outside.
View page
Default initial value of extern integral type variable is zero
otherwise null.
View page
No extern keyword in Java.
View page
The usual method: with its name:
extern int errno;
errno= 17;
View page
extern is used only when there is a variable or a function name.
so here's what you can do, typedef struct{ int data; }my_struct;
extern my_struct my_new_struct; Compilers takes this as a
*type*.