realloc() : increases or decrease the size of the specified block of memory. Reallocates it if needed.
Which function should be used to free the memory?
Function used to free the memory allocated by calloc() - free();
What does the function calloc do Mcq?
The calloc() function allocates space for an array of n objects, each of whose size is defined by size. Space is initialized to all bits zero. Explanation: void *calloc(size-t n, size-t size); This function is used to allocate the requested memory and returns a pointer to it.