|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include<stdio.h> struct S { int n; char c[10]; } *p; main() { struct S a[3]={{3,"abc"},{5,"def"},{7,"ghi"}}; p=a; printf("%d,",(*p).n); printf("%d\n",___________); } |
(++p)->n
(a+1)->n
p++->n
(p+1)->n
答案ABD 错选B
多选 - -。
原文:https://www.cnblogs.com/kxzh/p/9126440.html