Multiple choice

Which of the following functions is used to modify the size of previously allocated space?

  1. free()

  2. malloc()

  3. calloc()

  4. realloc()

  5. None of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

It modifies the size of previously allocated space.