0

What is the difference from functions calloc and malloc?

What is the difference from functions calloc and malloc?

6th Apr 2017, 2:03 PM
Андрей Климов
Андрей Климов - avatar
1 Réponse
+ 3
https://www.tutorialspoint.com/c_standard_library/c_function_calloc.htm "The difference in malloc and calloc is that malloc does not set the memory to zero where as calloc sets allocated memory to zero."
6th Apr 2017, 2:38 PM
Álvaro