int a[2][3] = {1, 2, 3, 4, 5, 6}; //*a+1 横着跳 _ASSERT( *(*a + 1) == 2 ); //数组名+1 竖着跳 _ASSERT( **(a+1) == 4);
printf("a = %p\n", a); printf("a+1 = %p\n", a+1);
printf("*a = %p\n", *a); printf("*a+1= %p\n", *a+1);
posted on 2006-05-29 23:04 AlanTop 阅读(231) 评论(0) 编辑 收藏 引用 所属分类: C++
Powered by: C++博客 Copyright © AlanTop