+1 vote
in Technology by (325k points)
Distinguish between malloc() & calloc() memory allocation.

1 Answer

0 votes
by (325k points)
Both allocates memory from heap area/dynamic memory. By default calloc fills the allocated memory with 0’s.
...