正在加载图片...
清华大学出版社 TSINGHUA UNIVERSITY PRESS 11.2定义结构体类型变量的方法 例如: 它的作用与第 struct student 种方法相同,即 定义了两个 truct int num student类型的变 char name [201 量 studentI, char sex student2 Int age float score char addr[301 student1, student211.2 定义结构体类型变量的方法 例如: struct student { int num; char name[20]; char sex; int age; float score; char addr[30]; }student1,student2; 它的作用与第一 种方法相同,即 定义了两个struct student 类型的变 量student1, student2
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有