Differentiate between calloc() and malloc()
Answers
Answered by
1
Answer:
Difference Between calloc() and malloc()
Malloc() function will create a single block of memory of size specified by the user. Calloc() function can assign multiple blocks of memory for a variable. Malloc function contains garbage value. ... Malloc is faster than calloc.
Answered by
3
Answer:
Malloc() function will create a single block of memory of size specified by the user. Calloc() function can assign multiple blocks of memory for a variable. Malloc function contains garbage value. The memory block allocated by a calloc function is always initialized to zero.
Explanation:
Mark my answer Brainliest and follow for more
Similar questions