##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# C memory management library

From cppreference.com
< cpp‎ | memory

### [edit] Functions

Defined in header `<cstdlib>`
malloc | allocates memory (function)
aligned_alloc (C++17) | allocates aligned memory (function)
calloc | allocates and zeroes memory (function)
realloc | expands previously allocated memory block (function)
free | deallocates previously allocated memory (function)

### [edit] See also

C documentation for C memory management library

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/memory/c&oldid=86206"