若有定义: struct teacher { int num; char sex; int age; }teacher1; 则下列叙述不正确的是
举一反三
- 若有定义:struct teacher{int num;char sex;int age;}teacher1;则下列叙述不正确的是( ) A: struct是结构类型的关键字 B: struct teacher是用户定义的结构类型 C: num,sex,age都是结构变量teacher1的成员 D: teacher1是结构类型名
- 下列对结构类型变量不正确的定义是 A: struct teacher{ int num; int age; }teacher1; B: struct{ int num; int age; }teacher1,teacher2; C: struct{ int num; int age; }teacher D: struct teacher{ int num,age; }a;
- 若有定义:struct teacher{ int num; char sex; int age;}teacher1;则下列叙述不正确的是( )。 A: teacher1是结构体类型名 B: num,sex,age都是结构体变量teacher1的成员 C: struct teacher是用户定义的结构体类型 D: struct是结构体类型的关键字
- 下列对结构体类型变量定义不正确的是( ) A: struct teacher { int num; int age; }teach1; B: struct { int num; int age; }teach1,teach2; C: struct { int num; int age; }teacher; struct teacher teach1; D: struct teacher { int num; int age; }; struct teacher teach1;
- 若有如下说明语句,则下面叙述中不正确的是struct student{long num;char name[20]; char sex;int age;} stu;