在如下结构体定义中,不正确的是 。
A.struct student { long no; double score; };
B.struct stud[20] { long no; double score; };
C.struct student { long no; double score; }stud[20];
D.struct { long no; double score; } stud[100];
A.struct student { long no; double score; };
B.struct stud[20] { long no; double score; };
C.struct student { long no; double score; }stud[20];
D.struct { long no; double score; } stud[100];
第1题
A.struct是结构体类型的关键字
B.struct stu是用户定义结构体类型
C.stutype是用户定义的结构体类型名
D.a和b都是结构体成员名
第2题
A.结构体为一种用户自定义数据类型
B.结构体要先定义,之后才能用于声明变量
C.结构体必须在函数外部定义
D.结构体可以嵌套定义,即在一个结构体中再定义新的结构体
第3题
A.struct student { long no; double score; };
B.struct stud[20] { long no; double score; };
C.struct student { long no; double score; }stud[20];
D.struct { long no; double score; } stud[100];
第4题
A.struct是结构体类型的关键字
B.struct stu是用户定义的结构体类型
C.stutype是用户定义的结构体类型名
D.a和b都是结构体成员名
第5题
A.struct是结构体类型的关键字。
B.stu是用户定义的结构体类型。
C.stutype是用户定义的结构体类型名。
D.a和b都是结构体成员名。
第9题
A.struct是结构体类型的关键字
B.struct emproyer是用户定义的结构体类型
C.staff是用户定义的结构体类型名
D.nameage和sex都是结构体成员名
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!