# include <stdio.h> int main(void) { char * p[] = {"abc", "def", "ghi"}; //为何这里的指针不需要指向真实的数组即可定义并输出字符串? int i; scanf("%d", &i); printf("%s\n", p[i-1]); return 0; }