✏️ Explanatory Question

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

👁 815 Views
📘 Detailed Answer
💡

Answer with Explanation

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