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;
0