#include <iostream>
using namespace std;
int main() {
int x =5;
{
cout<<"Before Variable in the Local scope "<<x<<endl;
int x =10;
cout<<"After in the local scope "<<x<<endl;
}
cout<<endl;
cout<<"Printing in the global scope "<<x<<endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgkKCWludCB4ID01OwoJewoJCWNvdXQ8PCJCZWZvcmUgVmFyaWFibGUgaW4gdGhlIExvY2FsIHNjb3BlICI8PHg8PGVuZGw7CgkJaW50IHggPTEwOwoJCWNvdXQ8PCJBZnRlciBpbiB0aGUgbG9jYWwgc2NvcGUgIjw8eDw8ZW5kbDsKCX0KCWNvdXQ8PGVuZGw7Cgljb3V0PDwiUHJpbnRpbmcgaW4gdGhlIGdsb2JhbCBzY29wZSAiPDx4PDxlbmRsOwoJcmV0dXJuIDA7Cn0=