Top
/
C++
/
Memory
/
Dangling pointers
/
Answer-dangling-3
Answer to Question dangling-3
No. In fact, you usually do not get a memory fault. The operating system and the heap manager have different ideas of ownership of memory, and the operating system does not know what the heap manager is thinking.