Home » Blog » Distinguish between malloc() and calloc ()memory allocation.

Distinguish between malloc() and calloc ()memory allocation.

Both allocates memory from heap area/dynamic memory. By default calloc fills the allocated memory with 0’s

Leave a Reply

Your email address will not be published.