Pergunta de entrevista da empresa Analog Devices

Describe how malloc() and free() work in the OS.

Resposta da entrevista

Sigiloso

11 de fev. de 2010

I don't know exactly what he wanted but basically he was making sure I knew how an OS creates virtual memory and allows applications to request chunks of memory at a time and that the application is responsible for keeping track of the location with a pointer so that the OS can free memory when free() is called.