Cisco Interview Question

Explain how memory is managed in C programs.