3 ms·
What happens if another object holds a reference to p? Bad things?
by bjourne 12y ago
What happens if another object holds a reference to p? Bad things?
- tormeh 12y agoYeah. Some sort of nullpointerexceptions, I would imagine.
- WalterBright 12y agoYes, bad things, i.e. memory corruption. Manual memory management means it's up to the programmer to get it right.