C Programming Language, Programming, Alx Holberton School, Tutorial.
there is never any guarantee that a call to malloc will succeed. You should check the pointer after any call to malloc to make sure the pointer is valid. Delete the malloced block of memory before the program ends. When a program ends, the operating system “cleans up after it,” releasing its