The malloc() function stands for memory allocation, that allocate a block of memory dynamically . It reserves the memory space for a specified size and returns the null pointer, which points to the memory location. malloc() function carries garbage value. The pointer returned is of type void.
Read more