摘要:
#include struct student{ int num; float score; struct student *next; } ; int main(void){ struct student stu1,stu2,stu3; /*定义3个struct student 类型的变量*/ struct student *head,*p;/*定义2个指向str... 阅读全文
摘要:
#include struct student{ int num; char name[20]; float score; } stu={112301,"bowen1",20}; void print(struct student stux); int main(void){ print(stu); } void print(struct student stux){ ... 阅读全文
摘要:
#include struct student{ int num; char name[20]; float score; } stu={112301,"bowen1",20}; void print(struct student *p); int main(void){ print(&stu); } void print(struct student *p){ pr... 阅读全文
摘要:
#include struct student{ int num; char name[20]; float score; }; int main(void){ struct student stu[3]={112301,"bowen1",20,112111,"bowen2",10,110911,"bowen3",30}; struct student *sp; ... 阅读全文
摘要:
int main(void){ char c[5]; scanf("%s",c); printf("%s",c); } 阅读全文