若有以下结构体,则正确的定义或引用是( )。 struct Test { int x; int y; }v1;A.Test.x=10;B.Test v2;v2.x=10;C.struct Test v2;v2.x=10;D.struct Test.v2=10;

若有以下结构体,则正确的定义或引用是( )。 struct Test { int x; int y; }v1;

A.Test.x=10;

B.Test v2;v2.x=10;

C.struct Test v2;v2.x=10;

D.struct Test.v2=10;


相关考题:

若有以下结构体,则正确的定义或引用的是struct Test{int x;int y;} vl;A.Test.x=10;B.Test v2;v2.x=10;C.struct v2;v2.x=10;D.struct Test v2={10};

若有以下结构体,则正确的定义或引用的是( )。 struct Test { int x; int y; } vl;A.Test.x=10;B.Test v2;v2.x=10;C.struet v2;v2.x=10;D.struct Test v2={10};

已知函数fun的原型是“void fun(int *x, int ”,变量v1、v2的定义是“int v1, v2; ”,则下列选项中,对函数fun调用正确的是( )。 A. fun(v1,B.fun(v1,v2);C.fun(D.fun(

若有以下结构体定义,则______是正确的引用或定义。 struct example { int x; int y; }v1;A.example.x=10B.example v2.x=10C.struct v2;v2.x=10D.struct example v2={10};

若有以下结构体定义,则_______是正确的引用或定义。 struct example { int x; int y; }v1;A.example.x=10B.example v2.x=10C.struct v2;v2.x=10D.struct example v2={10};

若有定义:int x=1,y=2;float a=3.7,b=2.1;则(x+y)%2+(int)a/(int)b表达式的值为( )。

若有以下结构体定义,则______是正确的引用或定义。 struct example { int x; int y; }v1;A.example.x=10B.example v2.x=10C.example.x=10D.struct example v2={10};

已知函数f的原型是“voidf(int*x,int&y);”,变量v1、v2的定义是“intv1,v2;”,下列调用语句中,正确的是( )。A.f(v1,v2)B.t(v1,&v2)C.f(&v1,v2)D.f(&v1,v2);

若有定义:floatx=3.5,y=3.6;则表达式()的值为6。A.(int)x+(int)yB.x+yC.(int)(x+y)D.int(x+y)