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
Which is best ide for c++?
What is the type of this pointer in c++?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
When does a name clash occur in c++?
What is a binary file? List the merits and demerits of the binary file usagein C++.
Why cout is used in c++?
Is c++ fully object oriented?
What is the use of function pointer?
What is c++ map?
What is the hardest coding language to learn?
Explain what are single and multiple inheritances in c++?
What is the auto keyword good for in c++?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
What is overloading unary operator?
Write about the scope resolution operator?