Question: 5 . How does free ( ) function work in relation to malloc ( ) ? a . It creates a new memory allocation.b .

5. How does free() function work in relation to malloc()?a. It creates a new memory allocation.b. It resizes an existing memory allocation.c. It releases memory that was previously allocated with malloc.d. It checks the consistency of the heap.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!