#include <stdio.h>
int main(void) {
int a[4][3]={1,2,3,4,5,6,7,8,9,10,11,12};
int(*p)[3]=a+1;
printf("a[1][0] :%d,%d\n",a
[2][0],*(p
[2]+0)); printf("a[1][1] :%d,%d\n",a
[2][1],*(p
[2]+1)); printf("a[1][2] :%d,%d\n",a
[2][2],*(p
[2]+2));
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CmludCBhWzRdWzNdPXsxLDIsMyw0LDUsNiw3LDgsOSwxMCwxMSwxMn07CmludCgqcClbM109YSsxOwoJcHJpbnRmKCJhWzFdWzBdIDolZCwlZFxuIixhWzJdWzBdLCoocFsyXSswKSk7CnByaW50ZigiYVsxXVsxXSA6JWQsJWRcbiIsYVsyXVsxXSwqKHBbMl0rMSkpOwpwcmludGYoImFbMV1bMl0gOiVkLCVkXG4iLGFbMl1bMl0sKihwWzJdKzIpKTsKCglyZXR1cm4gMDsKfQo=