#include <iostream>
using namespace std;
void myFunc(); // Function prototype
int main()
{ int var = 100;
cout << var << endl;
myFunc();
cout << var << endl;
return 0;
}
// Definition of function myFunc
void myFunc()
{ int var = 50;
cout << var << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwp2b2lkIG15RnVuYygpOyAvLyBGdW5jdGlvbiBwcm90b3R5cGUKaW50IG1haW4oKQp7IGludCB2YXIgPSAxMDA7CmNvdXQgPDwgdmFyIDw8IGVuZGw7Cm15RnVuYygpOwpjb3V0IDw8IHZhciA8PCBlbmRsOwpyZXR1cm4gMDsKfQovLyBEZWZpbml0aW9uIG9mIGZ1bmN0aW9uIG15RnVuYwp2b2lkIG15RnVuYygpCnsgaW50IHZhciA9IDUwOwpjb3V0IDw8IHZhciA8PCBlbmRsOwp9Cg==