heap
The region of memory for values a program creates on demand with new or malloc, which live until freed.
The heap is the memory region managed by the allocator for dynamic allocations whose lifetime is not tied to a function call.
Examples
new int[100]gets 400 bytes from the heap, and they stay untildelete[].
See also