单选题
某条C语句如下。
structexint x;float y;char z;)example;
则以下叙述中不正确的是
(29)
。
A、
struct结构体类型的关键字
B、
x,y,z都是结构体成员名
C、
struct ex是结构体类型
D、
example是结构体类型名
【正确答案】
D
【答案解析】
[要点解析] 在C语言环境中,结构体类型说明的一般形式如下。
[*]
其中,“struct”是结构体类型的关键字。
对于本试题定义的语句“struct ex{intx;float y;char z;)example;”,其中example是结构体变量名,而非结构体类型名。
提交答案
关闭