English 中文(简体)
标签:的问答
在有活力的记忆分配中,在方案终止后,一个忘却去找记忆,这种记忆是否会被分配?
原文:In dynamic memory allocation, after the program terminates and one forgets to deallocate the memory, will that memory stay allocated?

Been reading C++ books but I can t seem to find the answer. All I know is dynamic memory allocation such as when I make a function: void memoryleak(){ int * ptr = new int; } It allocates a memory ...

热门标签