尽可能的使用const来保护数据
//-------------1-----------
int age = 39;
const int *pt = &age;
int sage = 80;
pt = &sage;//this is OK C++ primer P223
//------------2---------------
int sloth = 3;
const int *pt = &sloth;//pt指针可以指向其他地址,例如例1
int *const finger = &sloth;//finger指针只能指向sloth,不能改变