Explanatory Question
What is a dangling pointer? in one line
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.
A pointer initially holding valid address, but later the held address is released or freed. Then such a pointer is called as dangling pointer.
First read the answer fully, then try to explain it in your own words. After that, open a few related questions and compare the concepts. This method helps you remember the topic for a longer time and improves exam preparation.