Differences Between Malloc() and Calloc() in C Language
What are the differences between malloc() and calloc() in C language?
Answers
Answered by
0
malloc is use for memory allocation and initialize garbage values.malloc () for allocating the single block of memory. where as calloc is same as malloc but it initialize 0 value.calloc () for allocating multiple blocks of memory.
Similar questions