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

Long Answer
Views 802

Answer:

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

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.