有下列程序段: struct st int x;int *y;*pt; int
题型:单项选择题
问题:
有下列程序段:
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
有下列程序段:
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