extern is an access-specifier in C and C++ which defines a global variable that is visible to all object modules.
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