Skip to content

Instantly share code, notes, and snippets.

@AhmedHelalAhmed
Created December 2, 2017 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AhmedHelalAhmed/09110655e8c3b8437179a01f84c97d57 to your computer and use it in GitHub Desktop.
Save AhmedHelalAhmed/09110655e8c3b8437179a01f84c97d57 to your computer and use it in GitHub Desktop.
scope operateor
#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