Microsoft Interview Question

Implement malloc in C.