有以下程序段 struct st {int x;int *y;}*pt; int a[]={1,2},b[]={3,4}

分类: 2019江中知识赛B(看题模式) 发布时间: 2023-12-01 12:13 浏览量: 1

有以下程序段 struct st {int x;int *y;}*pt; int a[]={1,2},b[]={3,4}; struct st c[2]={10,a,20,b}; pt=c; 以下选项中表达式的值为11的是()。

A.*pt->y

B.pt->x

C.++pt->x

D.(pt++)->x

E.C

F.1

正确答案是C