The malloc() function is defined in the <stdlib.h> header file.To learn more about memory allocation, see our C Memory Management tutorial.Syntaxmalloc(size_t size);The size_t data type is a non-negative integer