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/07/29 11:16:58
![27.若有结构类型定义](/uploads/image/z/6507179-35-9.jpg?t=27%EF%BC%8E%E8%8B%A5%E6%9C%89%E7%BB%93%E6%9E%84%E7%B1%BB%E5%9E%8B%E5%AE%9A%E4%B9%89%22typedef+struct+test%7Bint+x%2Cy%5B2%5D%EF%BC%9B%7DTEST%3B%22%2C%E5%88%99%E4%BB%A5%E4%B8%8B%E5%A3%B0%E6%98%8E%E4%B8%AD%E6%AD%A3%E7%A1%AE%E7%9A%84%E6%98%AF+_________+27%EF%BC%8E%E8%8B%A5%E6%9C%89%E7%BB%93%E6%9E%84%E7%B1%BB%E5%9E%8B%E5%AE%9A%E4%B9%89%22typedef+struct+test%7Bint+x%2Cy%5B2%5D%EF%BC%9B%7DTEST%3B%22%2C%E5%88%99%E4%BB%A5%E4%B8%8B%E5%A3%B0%E6%98%8E%E4%B8%AD%E6%AD%A3%E7%A1%AE%E7%9A%84%E6%98%AF_________+.A%EF%BC%8Estruct+test+x%EF%BC%9AB%EF%BC%8Est)
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