Jump to content

Dynamic memory allocation

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 65.123.225.195 (talk) at 21:10, 23 March 2004. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Dynamic memory allocation is the allocation of memory storage during the runtime of a program. The function malloc is used to dynamically allocate memory in C. The new operator is used to dynamically allocate memory in C++.