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
(d) causes the space pointed to by str to be deallocated, that is, made available for further allocation
This question was addressed to me during an interview.
My question is from General Utilities in chapter C Library of C