what is the usage of extern in c
The usage of extern in C:
extern int x; // Declaration of x variable without defining it
extern void fun(); // Declaration of fun function without defining it
The usage of extern in C:
extern int x; // Declaration of x variable without defining it
extern void fun(); // Declaration of fun function without defining it