以下对结构体类型变量的定义中不正确的是 。
A:
B: defineSTUDENTstructttpSTUDENT{intnum;floatage;}std;
C: struct{intnum;floatage;}std;
D: structttp{intnum;floatage;}std;
E: structttp{intnum;floatage;}student;structstudentstd;
A:
B: defineSTUDENTstructttpSTUDENT{intnum;floatage;}std;
C: struct{intnum;floatage;}std;
D: structttp{intnum;floatage;}std;
E: structttp{intnum;floatage;}student;structstudentstd;
举一反三
- 以下对结构体类型变量的定义中不正确的是__。 A: A) B: dedineSTUDENTstructstudentSTUDENT{intnum;floatage;}std1; C: B)structstudent{intnum;floatage;}std1; D: C)struct{intnum;floatage;}std1; E: D)struct{intnum;floatage;}student;structstudentstd1;
- 对结构体类型变量定义不正确的是() A: #defineSTUDENTstructstrdentSTRDENT{charname;intnum;}std; B: structstudent{charname;intnum;}stu; C: struct{charname;intnum;}std; D: struct{charname;intnum;}student;structstudentstu;
- 下列对结构体及其变量定义错误的是(). A: structmystruct{intnum;charch;}; B: structmystruct{intnum;charch;}my; C: struct{intnum;charch;}my; D: struct{intnum;charch;};
- 若STUDENTstudent1,student2;(student1,student2为结构体变量)为正确定义,那么在此之前应做()定义。 A: struct{charname[20];intnum;}STUDENT; B: structSTUDENT{charname[20];intnum;}; C: typedefstruct{charname[20];intnum;}STUDENT; D: typedefstructSTUDENT{charname[20];intnum;};
- 以下结构体的定义语句中,正确的是() A: structstudent{intnum;charname[10];intage;};stu; B: struct{intnum;charname[10];intage;}student;structstudentstu; C: structstudent{intnum;charname[10];intage;}stu; D: structstudent{intnum;charname[10];intage;};studentstu;