C++ Programming/Code/Standard C Library/Functions/free

From Wikibooks, open books for an open world
Jump to: navigation, search

free[edit]

Syntax
#include <cstdlib>
void free( void *p);

The function free() releases a previously allocated block from a call to calloc, malloc, or realloc.

Related topics
calloc - malloc - realloc