问题
单项选择题
设 struct st {int i; int j; }*P; main() { struct st m[]={{10,1},{20,2},{30,3}}; p=m; printf ("%d\n",(*++p).j); } 则程序的输出结果是( )
A.1
B.2
C.3
D.10
答案
参考答案:B
设 struct st {int i; int j; }*P; main() { struct st m[]={{10,1},{20,2},{30,3}}; p=m; printf ("%d\n",(*++p).j); } 则程序的输出结果是( )
A.1
B.2
C.3
D.10
参考答案:B