C Functions Question:

Can you please explain the difference between malloc() and calloc() function?

C Functions Interview Question
C Functions Interview Question

Answer:

Both functions are used to dynamically allocate the memory.


Previous QuestionNext Question
What is malloc() function?What is strcpy() function?