fun(int **p)的使用

#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");
}

posted on 2017-09-02 18:40  那年月光  阅读(672)  评论(0编辑  收藏  举报