Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

Dynamic memory management

NotebookLM

Functions

Defined in header <stdlib.h>
allocates memory
(function)
allocates and zeroes memory
(function)
expands previously allocated memory block
(function)
deallocates previously allocated memory
(function)
deallocates previously allocated sized memory
(function)
deallocates previously allocated sized and aligned memory
(function)
allocates aligned memory
(function)

See also

C++ documentation for C memory management library

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.