int a[5] = {9,16,23,30,37}; int *ptr = (int*)(&a +1); printf("%d,%d",*(a+1),*(ptr-1));
指针*(a+1)的值为:数组a的指针偏移指向a[0+1];
指针*(ptr-1)的值为:取地址数组a,(&a+1)在数组a的地址基础上偏移1个int 类型的大小,
{9,16,23,30,37}{9,16,23,30,37}
*(ptr-1)为37.