Answer Posted / sumithra.a
A dangling pointer arises when you use the address of an
object after its lifetime is over. This may occur in
situations like returning addresses of the automatic
variables from a function or using the address of the
memory block after it is freed
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
What is object oriented programming (oop)?
Can constructor be private in c++?
Is c++ a programming language?
How to give an alternate name to a namespace?
What is the difference between map and hashmap in c++?
What language is a dll written in?
What do you mean by inheritance in c++?
How important is c++?
How can I learn dev c++ programming?
What c++ library is string in?
what is VOID?
What is the header file for setw?
Which function cannot be overloaded c++?
Why main function is special in c++?
What are friend functions in C++?