C standard library function – calloc()
Calloc stands for Contiguous Allocation. To allocate memory dynamically we also use the function which is called as calloc() function. calloc() function on success returns the base address of the array and every memory location will be initialized to 0. Whereas in malloc() it was initialized by a garbage value.