Created
December 2, 2017 10:58
-
-
Save AhmedHelalAhmed/09110655e8c3b8437179a01f84c97d57 to your computer and use it in GitHub Desktop.
scope operateor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int x=5; | |
int main() | |
{ | |
int x=0; | |
cout<<::x<<endl; | |
cin>>::x; | |
cout<<x; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment