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:
- C function: atoi Converts received character array to an integer (int) value.
quizzes and articles!
Please fill out the form below to stay up-to-date to our newest interactive articles with quizzes.
Your subscription is on the way!