#include <stdio.h>
int main(int argc, const char * argv[]) {
int a[3][4]={1,2,3,4,5,6,7,8,9,10,11,12};
printf("a=%p\n",a);
printf("&a[0]=%p\n",&a);
printf("a+1=%p\n",a+1);
printf("&a[1]=%p\n",&a[1]);
printf("a[0]+1=%p\n",a[0]+1);
printf("*a+1=%p\n",*a+1);
printf("*(a[0]+1)=%d\n",*(a[0]+1));
printf("*(*(a)+1=%d\n",*(*(a)+1));
return 0;
}
代码如上,请大神注释一下每行的意思,看不懂 |
|