对指针的引用有什么用举几个例子对指针的引用有什么用举几个例子
非常简易
int* p = new int[5]; p[0] = 10; cout << "p[0] = " << p[0] << endl;