what is the usage of extern in c

[ad_1]

what is the usage of extern in c
#include 
extern int x = 32;
int b = 8;
int main() {
   auto int a = 28;
   extern int b;
   printf("The value of auto variable :
   printf("The value of extern variables x and b :
   x = 15;
   printf("The value of modified extern variable x :
   return 0;
}

[ad_2]

Please follow and like us:
Content Protection by DMCA.com