#include <stdio.h> int main(void){ int age[5] = {5,6,7,20,99}; return 0; } //转换后 /*(gdb) p &age[0] $20 = (int *) 0x7fffffffe330 对应a[0]的地址 (gdb) p &age[1] $21 = (int *) 0x7fffffffe334 (gdb) p &age[2] $22 = (int *) 0x7fffffffe338 (gdb) p &age[3] $23 = (int *) 0x7fffffffe33c (gdb) p &age[4] $24 = (int *) 0x7fffffffe340 (gdb) p &age[5] $25 = (int *) 0x7fffffffe344 age[0] ->16进制 0x7fffffffe330 age[0] ->二进制 11111111111111111111111111111111110001100110000 age[0] ->十进制 140737488347952 age[1] ->16进制 0x7fffffffe334 age[1] ->二进制 11111111111111111111111111111111110001100110100 age[1] ->十进制 140737488347956 */