以下结构体类型说明和变量定义中正确的是( )。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
B.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,t2D)struct{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
下列结构体类型说明和变量定义中正确的是( )。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
若有以下语句:typedef struct S{int 9;char h;}T;以下叙述中正确的是( )。A.可用s定义结构体变量B.可用T定义结构体变量C.S是struct类型的变量D.T是struct S类型的变量
以下结构体类型说明和变量定义中正确的是()。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;