struct a *f(int t1,int *t2,strcut a t3,struct a *t4)
struct a p,*p1;int i;
则正确的函数调用语句为
A.&p=f(10,&i,p,p1);
B.p1=f(i++,(int *)p1,p,&p);
C.p=f(i+1,&(i+2),*p,p);
D.f(i+1,&i,p,p);
[单选题]已知函数的原形如下,其中结构体a为已经定义过的结构,且有下列变量定义 struct a*f(int t1,int*t2,strcut a t3,struct a*t4) struct a p,*p1;int i; 则正确的函数调用语句为A.&p=f(10,&i,p,p1);B.p1=f(i++,(int*)p1,p,&p);C.p=f(i+1,&(i+2),*p,p);D.f(i+1,&i,p,p);
[单选题]下列结构体类型说明和变量定义中正确的是( )。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;
[单选题]以下选项中,能定义s为合法的结构体变量的是( )。A.typedef struct abc { double a; char b[10]; } s;B.struct { double a; char b[10]; }s;C.struct ABC { double a; char b[10]; } ABC s;D.typedef ABC { double a; char b[10]; } ABC s;
[单选题]设定义下列结构体,结构体变量p的出生年份赋值正确的语句是( )。Struct st{ int x;inty;int z;}Struct worker{ char name[20];char sex;struct st birth;}p;A.x=1987B.birth.x=1987;C.p.birth.x=1987;D.p.x=1987;
[单选题]若定义下列结构体,结构体变量p的出生年份赋值正确的语句是( )。 struct st { int x; int y; int z; } struct worker { char name[20]; char sex; struct st birth; }p;A.x=1987B.birth.x=1987;C.p.birth.x=1987;D.p.x=1987;
[单选题]设定义下列结构体,结构体变量p的出生年份赋值正确的语句是( )。 stmct st { int x; int y; int z; } struct worker { char name[20]; char sex; struct st birth; }p;A.x=1987B.birth.x=1987;C.p.birth.x=1987;D.p.x=1987;
[单选题]设定义下列结构体,结构体变量p的出生年份赋值正确的语句是( )。 struct st { int x; int y; int z; } struct worker { char name[20]; char sex; struct st birth; }p;A.x=1987B.birth.x=1987;C.p.birth.x=1987;D.p.x=1987;
[单选题]以下结构体类型说明和变量定义中正确的是( )。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.B.C.D.