Distinguish between malloc() and calloc() memory allocation.
C Programming Language > Dynamic Memory Allocation > calloc() and free()
837
Answer:
Both allocates memory from heap area/dynamic memory. By default calloc fills the allocated memory with 0 s.
This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.