指向指针的指针

1.test.c

main() 
{ char *s[]={"man","woman","girl","boy","sister"}; 
char **q; 
int k; 
for(k=0;k<5;k++) 
{ q = &s[k];/*这里填写什么语句*/ 
printf("%s\n",*q); 
} 
} 

2.gcc -o test test.c

3../test

4.结果

man
woman
girl
boy
sister

你可能感兴趣的:(指向指针的指针)