Skip to content

EasyConceptMemory management and RAII

What is the difference between stack and heap allocation?

What a good answer covers

Stack memory is automatic, fast and scoped to the function. Heap memory is allocated dynamically with new or allocators and must be freed explicitly or by an owner.

More on Memory management and RAII

Flashcards for this topic