#include〈stdio.h〉#includename); printf(”\n 请输入性别:”); getchar(); /*取走上一个留下来得‘\n’*/ scanf(”%s”,p—〉sex); printf(”\n 请输入生日(年月日,用回车隔开):\n"); scanf(”%d%d%d",&p->birth。year,&p—>birth.month,&p—>birth.day); printf("\n 请输入系别:”); scanf("%s",p->xi); printf(”\n 请输入班级:”); scanf(”%s",p—〉ban); printf(”\n 请输入家庭住址:”); scanf("%s",p-〉add); p—〉next=NULL; if(*h==NULL) { *h=p; return 1; } p0=*h; if(p0—〉num〉p—〉num) { p-〉next=p0; *h=p; return 1; } while(p0-〉next!=NULL&&p0—>next—〉num〈p—〉num) p0=p0-〉next; if(p0->next==NULL) { p0—〉next=p; return 1; } else if(p0-〉next-〉num==p—>num) { free(p); /*有相同数据输入失败*/ retur...