![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[主观题]
若有以下结构体定义,则_______是正确的引用或定义。struct example{ int x;int y;}v1;A.example.x
若有以下结构体定义,则_______是正确的引用或定义。 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};
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
若有以下结构体定义,则_______是正确的引用或定义。 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};
A.1
B.2
C.8
D.11
A.64
B.114
C.228
D.7
struct wok{ int x; float y; double z; }aab;
A.struct是结构体类型的关键字
B.struct work是用户定义的结构体类型
C.aab是用户定义的结构体类型名
D.x,y和z都是结构体成员名
E.x和y共用内存
A. (*p).data.a
B.(*p).a;
C.p->data.a
D.p.data.a
若有定义语句:int a[2][3],*p[3];,则以下语句中正确的是()。
A.p=a;
B.p[0]=a;
C.p[0]=&a[1][2];
D.p[1]=&a;