Frage im Vorstellungsgespräch bei DigiValet

What is the difference between dynamic and static memory allocation?