int main()
{
int arr1[] = { 1,2,3,4,5,6 };
int arr2[] = { 2,3,4,5,6,7 };
int arr3[] = { 3,4,5,6,7,8 };
int* parr[] = { arr1,arr2,arr3 };
for (int i = 0; i < 3; i++) 数组首元素arr[0]地址与 &arr一致
{
for (int j = 0; j < 6; j++)
{
printf("%d ", *(parr[i] + j));
}
printf("\n");
}
return 0;
}