![piyushh](https://www.crazyengineers.com/img/avatar.jpg)
piyushh
Member • Sep 22, 2011
Doubt in variable declaration and definition in C
extern int a;
is it a declaration or a definition? the default value for extern type is zero so it can be treated as a "definition"...but why not for
static int a;
is it a declaration or a definition? the default value for extern type is zero so it can be treated as a "definition"...but why not for
static int a;