Vidyalelo
C Programming · Q86

Standard Library Functions

Programming · C Programming · question 86

Q86

What is the function of the void *realloc(void *str, size-t size);?

A.
allocates space for an array of str objects, each of whose size is size
B.
allocates space for an object whose size is specified by size and whose value is indeterminate
C.
changes the size of the object pointed to by str to the size specified by size
Answer
D.
causes the space pointed to by str to be deallocated, that is, made available for further allocation

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board