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
Can a Structure contain a Pointer to itself?
What are the stages in the development cycle?
What are maps in c++?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
How to demonstrate the use of a variable?
What is the full form of stl in c++?
Which programming language should I learn first?
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()
How a modifier is similar to mutator?
What is a .h file c++?
Is it possible for a member function to use delete this?
How are virtual functions implemented in c++?
How do you establish an is-a relationship?
What is problem with overriding functions?
Do vectors start at 0?