Question d’entretien chez Qualcomm

How to implement memory allocation in C.