Examveda

In C, what is the purpose of the 'realloc' function?

A. To change the size of a previously allocated block of memory

B. To allocate memory for a structure

C. To copy memory

D. To check for memory leaks

Answer: Option A


This Question Belongs to C Program >> Memory Allocation

Join The Discussion

Related Questions on Memory Allocation