The free() Call

Let's learn about the `free` call in this lesson!

As it turns out, allocating memory is the easy part of the equation; knowing when, how, and even if to free memory is the hard part. To free heap memory that is no longer in use, programmers simply call free():

Get hands-on with 1200+ tech skills courses.