Answer (D) Realloc().
Explanation.
malloc()----- Allocates requested size of bytes and returns a pointer to the first byte of allocated space.
calloc()------ Allocates space for an array elements, initializes to zero and then returns a pointer to memory.
free()------ dellocate the previously allocated space.
realloc()--------Change the size of previously allocated space
No comments:
Post a Comment
Note: only a member of this blog may post a comment.