CACI International Interview Question

How is malloc used in C?