C++ 中指针,指针的引用,指针的指针的区别

c++中指针,指针的引用,指针的指针的区别 看例子和结果: #include "stdafx.h" #include <iostream> using  namespace std; void FreePtr1( int* ptr1) {     delete ptr1;      ptr1 = NULL; } void FreePtr2( int*& ptr2) {     delete ptr
相关文章
相关标签/搜索