主页
C 语言
C 指针与数组
demo_pointers_arrays_first
运行 ❯
×
更改方向
保存代码
更改主题
#include
int main() { int myNumbers[4] = {25, 50, 75, 100}; // Get the memory address of the myNumbers array printf("%p\n", myNumbers); // Get the memory address of the first array element printf("%p\n", &myNumbers[0]); return 0; }
0x7ffe70f9d8f0
0x7ffe70f9d8f0