Which C library function releases memory that was allocated with malloc()?
Correct answer A. free()
Explanation
free() returns dynamically allocated memory to the system. delete is a C++ operator, and release() and dealloc() are not standard C functions.
Answer checked How we write and check questions
Discussion