以下对结构体类型变量的定义中不正确的是( )。
A:
B: define STUDENTstruct studentSTUDENT {int num; float age;}stdl;
C: struct student{ int num; float age; }stdl;
D: struct{ int num;float age; }std1;
E: struct{ int num;floatage; }student;struct studentstd1;
A:
B: define STUDENTstruct studentSTUDENT {int num; float age;}stdl;
C: struct student{ int num; float age; }stdl;
D: struct{ int num;float age; }std1;
E: struct{ int num;floatage; }student;struct studentstd1;
举一反三
- 以下对结构类型变量的定义中不正确的是( ) 未知类型:{'options': ['#define STUDENT struct studentSTUDENT{int num;float age;}std1;', 'struct student{int num;float age;}std1;', 'struct student{int num;float age;float age;}std1;', 'struct student{int num;}student;struct student'], 'type': 102}
- 以下对结构体类型变量的定义中不正确的是( )。 A: struct{ int num; float age; }student; struct student std1; B: define STUDENT struct student STUDENT{ int num; float age; }std1; C: int num; float age; }std1; D: struct{ int num; float age; }std1;
- 以下结构体类型变量的定义中不正确的是( )。 A: B: define STUDENT struct student STUDENT{ int num; float age; }std1; C: struct student { int num; float age; } std1; D: struct { int num; float age; }std1; E: struct{ int num; float age; } ; struct student std1;
- 以下对结构类型变量的定义中错误的是( ) A: B: define STUDENT struct student STUDENT {int num;float age;} std1; C: struct {int num; float age; } std1; struct student std1; D: struct student {int num; float age; } std1; E: struct {int num; float age; } std1;
- 下列选项中不能够定义一个结构体类型变量stu的是 。 A: struct student { int num; int age; } stu; B: struct student { int num; int age; }; student stu; C: struct {int num; int age; } stu; D: struct student {int num; int age; }; struct student stu;