#include <iostream>
using namespace std;
void fun(int **p)
{
cout << p[0][0] << endl;
}
void main()
{
int a[] = {1,2,3,4,5};
int *p = a;
int **q = &p;
fun(q);
system("pause");
}
转载于:https://www.cnblogs.com/answer727/p/7467362.html
#include <iostream>
using namespace std;
void fun(int **p)
{
cout << p[0][0] << endl;
}
void main()
{
int a[] = {1,2,3,4,5};
int *p = a;
int **q = &p;
fun(q);
system("pause");
}
转载于:https://www.cnblogs.com/answer727/p/7467362.html