Broadcom interview question

What malloc function returns and how it allocates the memory