IQ InterviewQuestions Ask Question

Free Function

Asked by Amit · 2025-12-12 17:46:11 · c
What does free() do?

Answers (3)

Answered by raman · 2025-12-12 20:50:38
returning it to the system's memory pool so it can be reused later.
Answered by karan shegal · 2025-12-12 20:50:09
dynamically allocated memory
Answered by karan shegal · 2025-12-12 19:47:44
The free() function is a standard library function in C (and C++) used to deallocate a block of dynamically allocated memory, returning it to the system's memory pool so it can be reused later.

Your Answer