- malloc() function creates a single block of memory of a specific size.
- calloc() function assigns multiple blocks of memory to a single variable.
Shathana. S.R. Answered question
The malloc() function generates a single memory block with a predetermined size.
The calloc() function allows several memory blocks to a single variable.
Vishalini.R Answered question
