Pergunta de entrevista da empresa Broadcom

What malloc function returns and how it allocates the memory