Introduction
The free function is used to give back memory that was taken before. This helps your program not waste memory and run better.
When you have finished using a block of memory you got with <code>malloc</code> or <code>calloc</code>.
When you want to avoid your program using too much memory over time.
When you want to clean up memory before your program ends.
When you want to prevent your program from crashing due to running out of memory.