Heap memory

From eLinux.org
Revision as of 00:23, 12 September 2007 by Arunjts (talk | contribs) (A brief introduction about Heap memory)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Heap Memory

Heap is the memory allocated in runtime during program execution. When memory is allocated using malloc() or calloc() for any pointer in a program, the size of the memory is allocated from the heap memory area and is assigned to the pointer. Until the pointer is freed using free() the heap memory is used by the pointer variable.