Apryse interview question

What is the difference between static memory and stack memory in C++?