Difference between malloc and calloc? All Questions › Category: Data Structure › Difference between malloc and calloc? 0 Vote Up Vote Down CS Electrical And Electronics Staff asked 3 years ago I need short information. 1 Answers 0 Vote Up Vote Down Anonymous answered 3 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.