in Technology by (1.8m points)
Distinguish between malloc() & calloc() memory allocation.

1 Answer

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

Related questions

0 votes
asked Jan 23, 2021 in Technology by JackTerrance (1.8m points)
...