本帖最后由 fanyafangxf 于 2015-11-4 15:16 编辑
- #include<stdio.h>
- #include<string.h>
- int main(int argc, const char * argv[]) {
-
- int a[3][4]={1,2,3,4,5,6,7,8,5,9,10,11};
-
- printf(" a+1=%p\n",a+1);//a+1代表数组第一行的地址
- printf("*(a+1)=%p\n",*(a+1));//*(a+1)的值为什么和a+1一样呢
- return 0;
- }
复制代码 运行结果: a+1=0x7fff5fbff7b0 *(a+1)=0x7fff5fbff7b0
|
|