Is the following statement a declaration or definition?
extern int i;
extern int says that, that variable is been defined some where else in other files. To get compiled either we need declaration or definition, so we use extern to declare out side defined variables.
Back To Top