Can someone explain 4th question?

there are a lot of new term here so i didnt understand this question entirely can somone please elaborate MCQ 4th question?

hello @ashishxmathew please share the screenshot of the question in which you have doubt .

Answer:(B)
Explanation:free() can be called for NULL pointer, so no problem with free function call.

The problem is memory leak, p is allocated some memory which is not freed, but the pointer is assigned as NULL. The correct sequence should be following:

free§;
p = NULL;
if you still have any doubt you can ask here .
Happy Learning !!