L&T Technology Services Interview Question

Describe memory allocation in microcontroller.