Difference between malloc and calloc? All Questions › Category: Data Structure › Difference between malloc and calloc? 0 Vote Up Vote Down Chetan Shidling Staff asked 4 years ago I need short information. 1 Answers 0 Vote Up Vote Down Anonymous answered 4 years ago Malloc The function malloc allocates a block of size bytes from the memory. It allows a program to allocates an exact amount of memory. Calloc The function allocates multiple blocks of memory. The calloc allocates contiguous multiple blocks.