I have three simple questions.
Is the memory used by a dynamic array lost forever if you never deallocate it?
what about after the program ends?
what about after the computer is restarted?