C Functions Question:

Download Job Interview Questions and Answers PDF

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.

Download C Functions Interview Questions And Answers PDF

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