Answer to Question areas-4

You can allocate memory in the heap and keep it for as long as you need it. It is not deallocated automatically.