#include <stdio.h>
int main(int argc, char *argv[])
{
int a[3] = {100, 200, 300};
//int *p;
int (*p)[3];
//p = a + 1;//输出结果是2
//p = &a + 1;//输出一个无效的数
//p = &a + 1;
p = &a;
int i;
for(i = 0; i < 3; i++)
{
printf("p = %d
", (*p)[i]);
}
return 0;
}