DigiValet Interview Question

What is the difference between dynamic and static memory allocation?