Memory allocated using malloc() is released using free().
Here, memory is allocated to pointer p, so it should be freed as: free(p);
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.