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 Answer
+ 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