In C++, when you use the new operator to allocate memory, this memory is allocated in the application's heap segment. int* ptr { new int }; // ...
確定! 回上一頁