int c[3][3]={1,2,3,4,5,6,7,8,9};for(int i=0;i<3;i++)for(int j=0;j<3;j++)NSLog(@"%d ,%d",&c[i][j],c[i][j]); printf("%ld\n",c); printf("%ld\n",(c+1)); printf("%ld\n",(c+1)[1]); printf("%ld\n",(c+1)[3]); printf("%d\n",**c); printf("%d\n",**(c+1)); printf("%d\n",*(c+1)[1]); printf("%d\n",*(c+1)[3]); int b[3]={1,2,3};for(int i=0;i<3;i++){ NSLog(@"%d",b[i]); } NSLog(@"%d",b);
2013-05-24 15:19:14.713 Paging[33641:11303] -1073751180 ,12013-05-24 15:19:14.714 Paging[33641:11303] -1073751176 ,22013-05-24 15:19:14.714 Paging[33641:11303] -1073751172 ,32013-05-24 15:19:14.714 Paging[33641:11303] -1073751168 ,42013-05-24 15:19:14.714 Paging[33641:11303] -1073751164 ,52013-05-24 15:19:14.714 Paging[33641:11303] -1073751160 ,62013-05-24 15:19:14.714 Paging[33641:11303] -1073751156 ,72013-05-24 15:19:14.715 Paging[33641:11303] -1073751152 ,82013-05-24 15:19:14.715 Paging[33641:11303] -1073751148 ,9-1073751180-1073751168-1073751156-10737511321471524021442013-05-24 15:19:14.715 Paging[33641:11303] 12013-05-24 15:19:14.715 Paging[33641:11303] 22013-05-24 15:19:14.715 Paging[33641:11303] 32013-05-24 15:19:14.715 Paging[33641:11303] -1073751200