malloc() and calloc() functions are used to allocate memory dynamically at run time, and similarly function free() is used to free dynamically allocated memory.