Calloc is like C malloc except it zeroes out the memory at C Initialization.

pointer = (datatype*)calloc(numElements, elementSize);