Pergunta de entrevista da empresa DigiValet

What is the difference between dynamic and static memory allocation?