C Dynamic Memory Allocation In this tutorial, We will learn about dynamically allocate memory in your C program using standard library functions: malloc(), calloc(), free() and realloc(). Introduction In an array, we have to declare the size of an array before you use it. Hence, the array size we declared may be insufficient or more than required to hold data. To solve this issue, you can allocate memory dynamically. This technique allows us to obtain more memory when required and release it when not necessary. In C program, dynamic allocation achieve by 4 function which comes under <sdlib.h> library. malloc() : Allocates requested size of bytes and returns a pointer first byte of allocated space calloc(): Allocates space for array elements, initializes to zero and then returns a pointer to memory free(): deallocate the previously allocated space realloc(): Change the size of previously allocated space C malloc() ptr = (cast-type*) malloc(byte...