如果定义int *p=NULL,a=1;可不可以有a=*p,或*p=a

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/15 10:37:56

如果定义int *p=NULL,a=1;
可不可以有a=*p,或*p=a

不可以,p没指向地址,就像你没房子,你能往你房间搬东西吗?