int* arr = new int[5];
指向的数组的值是否arr在堆中连续分配?
arr
谢谢。
c++ memory arrays heap-memory
arrays ×1
c++ ×1
heap-memory ×1
memory ×1