1. malloc()
Declaration: void *malloc(size_t size); // ptr=(datatpe*)malloc(sizeof(datatype)); This function is used to allocate memory dynamically. The argument size specifies the number of bytes to be allocated. On success, malloc() returns a pointer to the first byte of allocated memory.... (More)