1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include <stdio.h> int main(void) { char p[4][7]; char q[4][8]; // 8 = 2*2*2 = 2^3 printf("%p\n",&p[0]); printf("%p\n",&p[1]); printf("\n"); printf("%p\n",&q[0]); printf("%p\n",&q[1]); return 0; }
1 2 3 4 5
0xbf9dcc94 0xbf9dcc9b 0xbf9dcc74 0xbf9dcc7c