若有以下结构体定义,则______是正确的引用或定义。 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=10

B.example v2.x=10

C.struct v2;v2.x=10

D.struct example v2={10};


相关考题:

若有以下结构体定义,则是正确的引用或定义。struct example{ int x; int y;}v1;A.example.x=10B.examplev2.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};

若有以下结构体,则正确的定义或引用是( )。 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;

若有以下语句:typedef struct S{int 9;char h;}T;以下叙述中正确的是( )。A.可用s定义结构体变量B.可用T定义结构体变量C.S是struct类型的变量D.T是struct S类型的变量

若有以下结构体定义,则是正确的引用或定义。 Struct example { int x; int y; }V1;A.example.x=10B.example V2.x=10C.structv2;v2x=10D.struct examplev2={10};

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

若有定义int x=3,y=2和float a=2.5,b=3.5,则表达式:(x+y)%2+(int)a/(int)b的值是