C memory management library - cppreference.com

##### 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)
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=71025"