int*a=nullptr; //NULL before C++11 a=new int(1); delete a;
a现在指向什么?是否指向nullptr或指向它被删除之前指向的地址?
a
nullptr
c++ c++11
c++ ×1
c++11 ×1