Is int a; a declaration or definition in C? Is there any difference in C++?
int a;
I was always thinking it\'s just a declaration, until today...
Is i
Where does it appear in your program?
In most contexts, it is both a declaration and definition.
OTOH, extern int a; is a declaration only.
extern int a;