墨尔本到阿德莱德自驾:C语言程序设计考题

来源:百度文库 编辑:中科新闻网 时间:2024/05/02 19:30:38
struct student
{
int num;
char name[10];
int age;
};
void py(struct student *p)
{
printf("%s\n",p->name);
)
main()
{struct student s[3]={{1001,"Sun",25},
{1002,"Ling",23},
{1003,"Shen",22}};
py(s+2);
}
输出结果是___

结果是shen