Explicit memory allocation using malloc.