- #include<iostream>
- using namespace std;
- int main()
- {
- char *a[]={"hello","the","world"};
- char **pa=a;
- pa++;
- cout<<pa<<endl;
- cout<<*pa<<endl;//用二级指针操作指针数组
- cout<<**pa<<endl;
- system("pause");
- return 0;
- }
- //该片段来自于http://www.codesnippet.cn/detail/160420149303.html
来源: http://www.codesnippet.cn/detail/160420149303.html