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