#include using namespace std; void fn1(); int x = 1, y = 2; int main(){ cout << "Begin.." << endl; cout << "x = " << x << endl; cout << "y = " << y << endl; cout << "Evaluate x and y in main() ..." << endl; int x = 10, y = 20; cout << "x = " << x << endl; cout << "y = " << y << endl; cout << "Step into fn1() ..." << endl; fn1(); cout << "Back in main()" << endl; cout << "x = " << x << endl; cout << "y = " << y << endl; return 0; } void fn1(){ int y = 20; cout << "x = " << x << endl; cout << "y = " << y << endl; }