Pregunta de entrevista de Motorola Solutions

How is memory allocated?