网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
设有structstu{inta;floatb;}strutype;则struct是结构体的关键字。
此题为判断题(对,错)。
参考答案
更多 “ 设有structstu{inta;floatb;}strutype;则struct是结构体的关键字。此题为判断题(对,错)。 ” 相关考题
考题
设有以下说明语句:structex{intx;floaty;charz;}example;则下面的叙述中不正确的是()
A、struct是结构体类型的关键字B、example是结构体类型名C、x,y,z都是结构体成员名D、structex是结构体类型名
考题
设有以下说明语句structex{intx;floaty;charz;}example;则下面的叙述中不的是()
A、struct结构体类型的关键字B、example是结构体类型名C、x,y,z都是结构体成员名D、structex是结构体类型名
考题
设有以下说明语句struct ex{ int x ; float y; char z ;} example;则下面的叙述中不正确的是A.struct结构体类型的关键字B.example是结构体类型名C.x,y,z都是结构体成员名D.struct ex是结构体类型名
考题
设有以下说明语句struct stu{int a;float b;} stutype;则下面的叙述不正确的是A.struct是结构体类型的关键字B.struct stu是用户定义的结构体类型C.stutype是用户定义的结构体类型名D.a和b都是结构体成员名
考题
已知有结构体: struct sk { int a; float b; }data,*p; 若有p=data,则对data的成员a的正确引用是( )。A.struct是结构体类型的关键字B.st是结构体类型名C.x、y、z都是结构体成员名D.struct str是结构体类型名
考题
设有以下说明语句typedef struct{ int n;char ch[8];} PER;则下面叙述中正确的是A.PER 是结构体变量名B.PER是结构体类型名C.typedef struct 是结构体类型D.struct 是结构体类型名
考题
设有以下语句: struct SS { int no; char name[10];}PERSON; 则下面叙述中错误的是 ( )A.struct是结构体类型的关键字B.struct SS是结构体类型C.PERSON是结构体类型名D.name是结构体成员名
考题
设有以下说明语句: struct stu { int a; float b; }stutype; 则下面叙述不正确的是( )。A.struct是结构体类型的关键字B.structstu是用户定义的结构体类型C.stutype是用户定义的结构体类型名D.a和b都是结构体成员名
考题
设有以下说明语句: struct ex { int x;floct y;char z;} example; 则下面的叙述中不正确的是 ( )A.struct是结构体类型的关键字B.example是结构体类型名C.x,y,z都是结构体成员名D.struct ex是结构体类型
考题
设有以下说明语句: typedef struct { int n; char ch[8]; }PER; 则下面叙述中,正确的是( )。A.PER是结构体变量名B.PER是结构体类型名C.typedef struct是结构体类型D.struct是结构类型名
考题
设有以下声明语句 street ex { int x;float y;char z;} example; 则下面的叙述中不正确的是 ______ 。A.struct是结构体类型的关键字B.example是结构体类型名C.x,y,z都是结构体成员名D.struct ex是结构体类型
考题
下面的方法重载,正确的是( )。A、intfun(inta,floatb){}B、floatfun(inta,floatb){}floatfun(inta,floatb){}floatfun(intx,floaty){}C、floatfun(floata){}D、floatfun1(inta,floatb){}floatfun(floata,floatb){}floatfun2(inta,floatb){}
考题
设有下列说明语句: Strcut Str {int x;float y;char z;}st; 则下列的叙述中不正确的是( )。A.struct是结构体类型的关键字B.st是结构体类型名C.x、y、z都是结构体成员名D.struct str是结构体类型名
考题
设有如下定义,若有p=,则对ab中成员项的正确引用是( )。structss{inta;floatb;}ab,*p;
A.(*p).ab.aB.p->aC.p->ab.aD.p.ab.a
考题
设有以下C语言说明语句:struct ex{int x;float y;char z;}example;则下面的叙述中不正确的是( )。A.struct是结构体类型的关键字
B.x、y、z都是结构体成员名
C.ex是结构体名
D.example是结构体类型名
考题
设有以下说明语句 structex {intx;floaty;charz;}example; 则下面的叙述不正确的是()。A、struct是结构体类型的关键字B、example是结构体类型名C、x,y,z都是结构体成员名D、structex是结构体类型
考题
设有如下定义,structsk{inta;floatb;}data,*p=data;则对data中的a成员的正确引用是()。A、(*p).data.aB、(*p).aC、p-data.aD、p.data.a
考题
设有以下说明语句:structstu {int a;floatb;}s;下面的叙述不正确的是()A、struct是结构体类型的关键字B、structstu是用户定义的结构体类型C、s是用户定义的结构体类型名D、a和b都是结构体成员名
考题
以下能正确定义共用体变量的是()A、unionuniontype{inta;floatb;};unionuniontypef;B、unionuniontype{inta;floatb;}f;C、union{inta;floatb;}f;D、union{inta,floatb,}f;
考题
判断题数据结构中,定义结构体使用struct关键字。A
对B
错
热门标签
最新试卷