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

callocEdit

Syntax
#include <cstdlib>
void *calloc( size_t num, size_t size);

The function calloc() allocates a block of memory that can store num objects of size size. In addition, the block of memory allocated is set to all zeros.

If the operation fails, calloc() returns NULL.

Related topics
free - malloc - realloc
Last modified on 14 February 2009, at 03:38