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
Explain class invariant.
what are function pointers?
Write is a binary search tree? Write an algo and tell complexity?
How do I exit turbo c++?
Can we make any program in c++ without using any header file and what is the shortest program in c++.
What gives the current position of the put pointer?
Can you overload the operator+ for short integers?
What are the various compound assignment operators in c++?
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
What is &x in c++?
Which bit wise operator is suitable for turning off a particular bit in a number?
Explain what you mean by a pointer.
What is #include sstream?
Is dev c++ free?
What are signs of manipulation?