设有以下说明语句,则下面的叙述中不正确的是(
)。 struct student{
int num ; char name[ ]; int score ; } ; struct student
stu1;
A: struct是结构体类型的关键字
B: stu1是结构体变量名
C: struct
student是结构体变量名
D: num,name,score都是结构体成员名
)。 struct student{
int num ; char name[ ]; int score ; } ; struct student
stu1;
A: struct是结构体类型的关键字
B: stu1是结构体变量名
C: struct
student是结构体变量名
D: num,name,score都是结构体成员名
举一反三
- 对以下定义,不正确的叙述是( )。struct student { int num; char name[20]; } stu; A: struct是定义结构体类型的关键字 B: stu是结构体类型名 C: num, name都是结构体成员名 D: struct student是结构体类型名
- 以下各项用于定义结构体类型,并定义结构体变量,其中正确的是________。 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;
- 若有如下说明语句,则下面叙述中不正确的是( )。struct student{ long num; char name[20]; char sex; int age;} stu; A: struct是结构体类型关键字 B: struct student是结构体类型 C: num,name,sex,age都是结构体成员名 D: stu是结构体类型名
- struct student{ int num;char name[10];float score;}stu;则下面的叙述不正确的是 ( ) A: struct是结构体类型的关键字 B: struct student 是用户定义的结构体类型 C: num, score都是结构体成员名 D: stu是用户定义的结构体类型名
- 设有以下说明语句,则下面叙述中正确的是( )typedefstruct { int num; char name[20]; char sex; float score; }student; A: student是结构体的类型名 B: struct 是结构体类型名 C: struct 是结构体类型 D: student是结构体的变量名