📅  最后修改于: 2022-03-11 14:55:49.593000             🧑  作者: Mango
But the memory allocation using malloc() is not de-allocated on its own.
So, “free()” method is used to de-allocate the memory. But the free()
method is not compulsory to use. If free() is not used in a program the
memory allocated using malloc() will be de-allocated after completion
of the execution of the program