C Programming Language, Programming, Alx Holberton School, Tutorial.
memory, the memory block pointed by pointer is de-allocated and a NULL pointer is returned. NOTE It is very important to check that the pointer is zero after each allocation. Since the heap varies in size constantly depending on which programs are running, how much memory they have allocated, etc.,