• 2022-07-27
    若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;};