int main(int argc, const char* argv[])
{
int x = 5;
int* p = &x;
*p = 6;
int** q = &p;
int*** r = &q;
printf("%d\n", *p);//指向p中的值 6
printf("%d\n", *q);// 指向指针p的地址
printf("%d\n", *(*q));//指向p中地址中的值 6
printf("%d\n", *(*r));// 解引用两次到达p
printf("%d\n", *(*(*r)));//解引用三次到达x
***r = 10;
printf("x=%d\n", x);//解引用,修改x中的值
**q = *p + 2; //*p **q解引用都是到的值,x的值+2
printf("x=%d\n", x);
}