1 /* Note:Your choice is C IDE */ 2 #include "stdio.h" 3 /* 4 *知识点:指针、指针的指针、数组、 5 */ 6 void main() 7 { 8 /*使用指针数组创建字符串数组*/ 9 char *strings[]= 10 { 11 "赵海军","钱弟弟","瓯江","蝴蝶","激动" 12 }; 13 14 char**p,i;/*声明变量,**P指针的指针,p用于指向另一个指针*/ 15 p=strings;/*指针指向字符串数组首地址*/ 16 for(i=0;i<5;i++)/*循环输出字符串*/ 17 { 18 printf("%s ",*(p+i)); 19 } 20 }