正在加载图片...
②在定义类型的同时定义变量 如: struct student fint num; char name[20]; char sex: int age; float score. char addr[30]; 3st1, st2; 则一般定义形式为: struct结构体名 分量表; }变量表; 在定义类型的同时定义变量 如:struct student {int num; char name[20]; char sex; int age; float score; char addr[30]; }st1,st2; struct 结构体名 { 分量表; } 变量表; 则一般定义形式为:
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有