![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
设有如下定义: struct point { int x;int y;}; struct rect { struct point pt1; struct point pt2; }; struct rect rt; struct rect *rp = &rt;则下面不正确的引用是()。
A.rt.pt1.x
B.(*rp).pt1.x
C.rp->pt1.x
D.rt->pt1.x
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)
A.rt.pt1.x
B.(*rp).pt1.x
C.rp->pt1.x
D.rt->pt1.x
第1题
A.Pointpt;pt;Print();
B.const Point pt;pt.Print();
C.Pointpt;pt.Move(1,2);
D.const Point pt;pt.Move(1,2);
第2题
A.Point pt;pt.Print();
B.const Point pt;pt.Print();
C.Point pt;pt.Move(1, 2);
D.const Point pt;pt.Move(1, 2)
第3题
A.Point pt; pr. Print();
B.const Point pt; pt. Print();
C.Point pt; pt. Move(1,2);
D.const Point pt; pt. Move(1,2);
第4题
A.*pt->y
B.pt->x
C.++pt->x
D.(pt++)->x
第5题
A.*pt->y
B.pt->x
C.++pt->x
D.(pt++)->x
第6题
A.*pt->y
B.pt->x
C.++pt->x
D.(pt++)->x
第7题
A.*pt->y
B.pt->x
C.++pt->x
D.(pt++)->x
第8题
struct st
{int x;int*y;}*pt;
int a[]={1,2},b[]={3,4};
stmct st c[2]={10,a,20,b};
pt=c;
下列选项中表达式的值为11的是( )。
A.*pt->y
B.pt->x
C.++pt->x
D.(pt++)->X
第9题
A.*pt- >y
B.pt- >x
C.+ +pt- >x
D.(pt+ +)->x
第10题
A.*pt->y
B.pt->x
C.++pt->x
D.(pt++)->X
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!