Skip to main content

One doc tagged with "dynamic-memory"

View all tags

new and delete Operators

Manual dynamic memory management in C++. Allocates on heap, requires explicit deallocation. Modern C++ prefers smart pointers.