- #include <iostream> //0
- using namespace std; /1
- extern int x; //2
- void change(void) //3
- { register int y=0,z=3; //4
- cout<<x<<'\t'<<y<<’\t'<<z<<endl; //5
- x=2;y=2; //6
- cout<<x<<'\t'<<y<<’\t'<<z<<endl; //7
- } //8
- int x=3,y=4; //9
- int main( ) //10
- { auto int x,z= -3; //11
- x=1; //12
- cout<<x<<'\t'<<y<<’\t'<<z<<endl; //13
- change(); //14
- cout<<x<<'\t'<<y<<’\t'<<z<<endl; //15
- cout<<::x<<'\t'<<::y<<’\t'<<z<<endl; //16
- return 0; //17
- } //18