指针* int *p = 0; 包含了两部分:int *p,p=0 int *p ,表示声明指针变量p,“指针变量”是指取值为地址的变量 p=0,表示指针变量p指向的地址为0 然后: *p = 1; 地址为p的那块内存的值赋为1