struct student{ int num;char sex;char...} st ;其中出现的结构体类型名是
举一反三
- struct student { int num; char sex; char name[20]; float score; } st ; 其中num是结构体 ________
- 下列结构体的定义正确的是( )。 A: student { int num; char name[10]; char sex; }; B: struct student { int num; char name[10]; char sex; } C: struct student { int num; char name[10]; char sex; }; D: struct student { int num char name[10] char sex };
- 若有如下说明语句,则下面叙述中不正确的是( )。struct student{ long num; char name[20]; char sex; int age;} stu; A: struct是结构体类型关键字 B: struct student是结构体类型 C: num,name,sex,age都是结构体成员名 D: stu是结构体类型名
- 以下各项用于定义结构体类型,并定义结构体变量,其中正确的是________。 A: struct student { char num[5]; int score; }; student stu1,stu2; B: struct student{ char num[5]; int score;};struct student stu1 stu2; C: struct student { char num[5]; int score=96; }; struct student stu1,stu2; D: struct student{ char num[5]; int score;};struct student stu1,stu2;
- 对结构体类型变量定义不正确的是( )。 A: B: define STUDENT struct studentSTUDENT{char name;int num;}std; C: struct student{char name;int num;}stu; D: E: define struct student{char name;int num;}STD;STD stu; F: struct{char name;int num;}student;struct student stu;