摘要: /* 通过函数完成对结构体变量的输入输出 */ #include #include void InputStudent(struct Student *); void OutputStudent(struct Student stu); struct Student { int age; char sex; char name[100]; } ;/... 阅读全文
posted @ 2018-11-04 15:23 冰韵不徙 阅读(1320) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> struct Student{ int age; float score; char sex;}; int main(void){ struct Student st = {80, 66.6F, 'F'}; struct Student st2; st2.age 阅读全文
posted @ 2018-11-04 10:47 冰韵不徙 阅读(1023) 评论(0) 推荐(0) 编辑