From a3b14d3edc318a50ff5b2e4e11eb1eaa52977e7e Mon Sep 17 00:00:00 2001 From: dskaran95 <33151203+dskaran95@users.noreply.github.com> Date: Fri, 27 Oct 2017 20:22:09 +0530 Subject: [PATCH] Update extern.cpp --- extern.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}