C语言学习(27)

 1 //用指向指针的指针输出若干字符串
 2 #include<stdio.h>
 3 int main(){
 4     char *name[]={"Basic","Visual Basic","C","Visual C++","Pascal","Delphi"};
 5     char **p;
 6     p=name;
 7     for(int i=0;i<6;i++){
 8         printf("%s\n",*p);
 9         p++;
10     }
11     return 0;
12 }

猜你喜欢

转载自www.cnblogs.com/Tobi/p/9237854.html