The function calloc is used
-
to free memory space
-
to allocate memory space
-
both of the above
-
none of the above
B
Correct answer
Explanation
The calloc function stands for 'contiguous allocation' and is used to allocate memory space for an array of elements, initializing them to zero.