网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下列结构体类型说明和变量定义中正确的是( )。

A.typedefstruct; {intn;charC;}REC; RECt1,t2;

B.structREC; {intn;charC;} RECt1,t2;

C.typedefstructREC; {intn=0;charc=A;}t1,t2

D.struct {intn;charC;}REC; RECt1,t2


参考答案

更多 “ 下列结构体类型说明和变量定义中正确的是( )。A.typedefstruct; {intn;charC;}REC; RECt1,t2;B.structREC; {intn;charC;} RECt1,t2;C.typedefstructREC; {intn=0;charc=A;}t1,t2D.struct {intn;charC;}REC; RECt1,t2 ” 相关考题
考题 以下结构体类型说明和变量定义中正确的是A)typedef struct{int n; char c;} REC;REC t1,t2;B)struct REC;{int n; char c;};REC t1,t2;C)typedef struct REC ;{int n=0; char c='A';} t1,t2D)struct{int n;char c;}REC;REC t1,t2;

考题 以下结构体类型说明和变量定义中正确的是( )。A.typedef structB.struct REC; {int n;char c;}REC; {int n;char c;}; REC t1,t2; REC t1,t2;C.typedef struct REC;D.struct {int n=0;char c='A';}t1,t2; {int n;char c;}REC; REC t1,t2;

考题 下列结构体类型说明和变量定义中正确的是( )。A.typedef struct {int n; char c;}REC; REC t1,t2;B.struct REC; {int n; char c;}; REC t1,t2;C.typedef struct REC; { int n=0; char c='A';} t1,t2;D.stmct { int n; char c;} REC; REC t1,t2;

考题 下列结构体类型说明和变量定义中正确的是( )。A.typedefstruct; {intn;charC;)REC; RECt1,t2;B.structREC; {intn;charC;} RECt1,t2;C.typedefstructREC; {intn=0;charc=A;}t1,t2D.struct (intn;charc;)REC; RECt1,t2

考题 以下结构体类型说明和变量定义中正确的是( )。

考题 若有如下定义: union aa {int n; char c[9]; float x;}a,b,c; 则下列叙述中不正确的是( )A.union aa是定义的共用体类型B.a,b,c是定义的共用体类型名C.n、c[9]和x是共用体的成员名D.a,b,c是定义的共用体变量名

考题 以下结构体类型说明和变量定义中正确的是()。A.typedef struct {int n; char c;} REC; REC x,y;B.struct REC; {int n; char c;}; REC x,y;C.typedef struct REC ; {int n=0; char c=’A’; } x,y;D.struct {int n; char c; } REC x,y;

考题 以下结构体类型说明和变量定义中正确的是()A.struct REC ; { int n; char c; }; REC t1,t2;B.typedef struct { int n; char c; } REC; REC t1,t2;C.typedef struct REC; { int n=0; char c='A'; } t1,t2;D.struct { int n; char c; } REC; REC t1,t2;

考题 3、以下结构体类型说明和变量定义中正确的是()A.struct REC ; { int n; char c; }; REC t1,t2;B.typedef struct { int n; char c; } REC; REC t1,t2;C.typedef struct REC; { int n=0; char c='A'; } t1,t2;D.struct { int n; char c; } REC; REC t1,t2;