C library: stdlib <stdlib.h>

1 min read

The stdlib library in C programming language provides functions, macros and variable types. With functions inside this C library, we can perform various operations including memory related ones. This C library is included with most C compilers.

Note: to use functions inside stdlib library, we need to include the header file stdlib.h into our program (#include <stdlib.h>).

Here is an example of a function that we can find in this C library: