摘要:
/* 通过函数完成对结构体变量的输入输出 */ #include #include void InputStudent(struct Student *); void OutputStudent(struct Student stu); struct Student { int age; char sex; char name[100]; } ;/... 阅读全文
摘要:
#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 阅读全文