C 實戰練習題目77

題目:填空練習(指向指針的指針)。html

程序分析:無。學習

程序源代碼:spa

 1 #include<stdio.h>
 2 #include<stdlib.h>
 3 int main()
 4 {
 5     const char *s[]={"man","woman","girl","boy","sister"};
 6     const char **q;
 7     int k;
 8     for(k=0;k<5;k++)
 9     {
10         q=&s[k];       /*在這裏填入內容*/
11         printf("%s\n",*q);
12     }
13     return 0;
14 }

以上實例運行輸出結果爲:指針

man
woman
girl
boy
sister

感謝你的閱讀,請用心感悟!但願能夠幫到愛學習的你!!分享也是一種快樂!!!請接力。。。code

點擊查看原文,謝謝!htm

相關文章
相關標籤/搜索