Infineon Technologies interview question

Explain memory allocation in C