diff --git a/extern.cpp b/extern.cpp index ef20df8..4d8d79f 100644 --- a/extern.cpp +++ b/extern.cpp @@ -2,7 +2,7 @@ using namespace std; extern int tempVariable; - +//extern is used before variable declaration to represent external storage class. int main(int argc, char const *argv[]){ int tempVariable; cout << "Enter a number : "; @@ -17,4 +17,4 @@ int main(int argc, char const *argv[]){ } return 0; -} \ No newline at end of file +}