以下选项中,能定义s为合法的结构体变量的是______。
A.typedef struct abc{ double a;Char b[10];} s;
B.struct{ double a;Char b[10];}s;
C.struct ABC{ double a;Char b[10];}ABC s;
D.typedef ABC{ double a;Char b[10];}ABC s;
正确答案B
以下选项中,能定义s为合法的结构体变量的是______。
A.typedef struct abc{ double a;Char b[10];} s;
B.struct{ double a;Char b[10];}s;
C.struct ABC{ double a;Char b[10];}ABC s;
D.typedef ABC{ double a;Char b[10];}ABC s;
正确答案B