CACI International interview question

How is malloc used in C?