//指向字符型数据的指针变量
测试代码:
#include <iostream> using namespace std; int main() { char **p; char *name[ ]={"basic","fortran","c++","pascal","cobol"}; p=name+2; cout<<*p<<endl; cout<<**p<<endl; return 0; }
版权声明:本文是我原创文章,大家可以随意转载哦!!
原文地址:http://blog.csdn.net/jrz1900/article/details/47343587