题目:填空练习(指向指针的指针)
程序:
#include <stdio.h>
int main(void)
{
char *s[]={"man","woman","girl","boy","sister"};
char **q;
int k;
for(k = 0; k < 5; k++)
{
q=s+k;//q = &s[k];
printf("%s\n",*q);
}
return 0;
}
输出样例:
打卡8.8
题目:填空练习(指向指针的指针)
程序:
#include <stdio.h>
int main(void)
{
char *s[]={"man","woman","girl","boy","sister"};
char **q;
int k;
for(k = 0; k < 5; k++)
{
q=s+k;//q = &s[k];
printf("%s\n",*q);
}
return 0;
}
输出样例:
打卡8.8
本文标题:打卡8.8
本文链接:https://www.haomeiwen.com/subject/zxefbftx.html
网友评论