法国有哪些著名的企业:C语言程序设计考题
来源:百度文库 编辑:查人人中国名人网 时间:2024/08/27 13:15:08
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);
}
输出结果是___
{
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