指针的问题 帮忙看看
程序代码:#include<iostream.h>
using namespace std;
int main()
{
//声明指针数组
char *colors[]={"Red","Blue","Yellow","Green"};
//指向指针的指针变量
char **pt;
//通过指向指针的变量访问其指向的内容
pt=colors;
for (int i=0;i<=3;i++) {
cout<<"pt="<<pt<<endl;
cout<<"*pt="<<*pt<<endl;
cout<<"**pt="<<**pt<<endl;
pt++;
}
return 0;
}解释下 **pt结果 如:为什么都是第一个 字母 red 的r 没看明白 是不是跟char 有关
先谢谢!!
大家帮忙看下 !!








