Top "Extern" questions

extern is an access-specifier in C and C++ which defines a global variable that is visible to all object modules.

extern variable causes multiple definition error

I have been trying to use extern in order to use variable that is previously defined. I have not used …

c++ extern multiple-definition-error