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 }
原文地址:https://www.cnblogs.com/Tobi/p/9237854.html
时间: 2024-10-11 11:51:52