27.若有结构类型定义"typedef struct test{int x,y[2];}TEST;",则以下声明中正确的是 _________ 27.若有结构类型定义"typedef struct test{int x,y[2];}TEST;",则以下声明中正确的是_________ .A.struct test x:B.st
来源:学生作业帮助网 编辑:作业帮 时间:2024/05/10 22:18:23
x)32Egs:l^~n֓J%)i
%E%
%%ՙy%
:F̮
q
Vy1Ovt?]ٌ';>[ug<^!b:=GuH)T3 ,fTOwRMH
;[ȇIvAHlUdǮ'ph~͈ONNy:@agHd;2{6鄾 %v=u>߳醉<;^DOozŢzuB0o}ku6yvX /[=
27.若有结构类型定义"typedef struct test{int x,y[2];}TEST;",则以下声明中正确的是 _________ 27.若有结构类型定义"typedef struct test{int x,y[2];}TEST;",则以下声明中正确的是_________ .A.struct test x:B.st
27.若有结构类型定义"typedef struct test{int x,y[2];}TEST;",则以下声明中正确的是 _________
27.若有结构类型定义"typedef struct test{int x,y[2];}TEST;",则以下声明中正确的是
_________ .
A.struct test x:B.struct x; C.test x;D.struct TEST x;
为什么A?不是D
27.若有结构类型定义"typedef struct test{int x,y[2];}TEST;",则以下声明中正确的是 _________ 27.若有结构类型定义"typedef struct test{int x,y[2];}TEST;",则以下声明中正确的是_________ .A.struct test x:B.st
答案为:C
A错:最后应为分号
B错:缺少结构体名
D错:TEST 已经被定义为类型名,不必再加struct