回复 10楼 高茜
看一下这个例子 说不定你就懂了
程序代码:#include <stdio.h>
int main(void) {
int i;
int a[2][4] = {{1, 2, 3, 4}, {5, 6, 7, 8}};
int *pa[2] = {&a[0][0], &a[1][0]};
int **p = pa;
for(i = 0; i < 8; i++) {
printf("%d ", *(*p + i));
if((i + 1) % 4 == 0) {
puts("");
}
}
return 0;
}

Only the Code Tells the Truth K.I.S.S








