free is used to return allocated memory to the system.
Library: sdlib.h
Prototype: void free(void *s);
Syntax: char *StrPtr;
StrPtr = (char *) malloc(100);
free(StrPtr);
example
program.
malloc function.
new C++ replacement for malloc.
delete C++ replacement for free.
| Top | Master Index | Keywords | Functions |