题目内容
下面程序的功能是从终端上输入5个人的年龄、性别和姓名,然后输出。请填空#include"stdio.h"struct man{ char name[20];unsigned age;char sex[7];};data_in(struct man*p, int n ){struct man *q=________;for( ;page, p->sex);________;}}data_out( structman *p, int n ){struct man *q = ________;for( ;pname, p->age, p->sex);}int main ( ){ struct man person[5];data_in(person,5);data_out(person,5);return 0;}
name, p->age, p->sex);}int main ( ){ struct man person[5];data_in(person,5);data_out(person,5);return 0;}
查看答案
搜索结果不匹配?点我反馈
更多问题