calloc
Syntax:
#include <stdlib.h> void* calloc( size_t num, size_t size ); The calloc() function returns a pointer to space for an array of num objects, each of size size. The newly allocated memory is initialized to zero. calloc() returns NULL if there is an error. |