Computer Science, asked by Af7s8branavde, 1 year ago

Differences Between Malloc() and Calloc() in C Language
What are the differences between malloc() and calloc() in C language?

Answers

Answered by vee11
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