如果有typedefstructstudent { ints; chart; }T; 则下面的描述正确的是()
如果有typedefstructstudent { ints; chart; }T; 则下面的描述正确的是()
若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;};
若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;};
1