Question: What is a dangling pointer?
Options:
Correct Answer: A pointer that points to a memory location that has been freed
Solution:
A dangling pointer is one that points to a memory location that has been freed, leading to undefined behavior if accessed.