Question: Assume pointer variable p points to node x, and node x's next pointer points to node y. What does free(p) opeartion mean? return the memory

Assume pointer variable p points to node x, and node x's next pointer points to node y. What does free(p) opeartion mean? return the memory held by x to the free memory pool. return the memory held by x to the free memory pool and set pointer p to 0. return the memory held b x and by to the free memory pool. set pointer p to 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
