非法,null是一个int变量,p是一个int指针,二者不能直接绑定。
语法角度改为
*p = &null;
原意改为
*p=nullptr
2.4.4节练习
原文:https://www.cnblogs.com/suomeimei/p/10615801.html