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 purpose of new operator?
How can virtual functions in c++ be implemented?
Is swift faster than c++?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
what are the characteristics of Class Members in C++?
Which is not a valid keyword a) public b) protected c) guarded
How would you implement a substr() function that extracts a sub string from a given string?
Do you know what are static and dynamic type checking?
What do you mean by translation unit?
Is swift better than c++?
What are the uses of typedef in a program?
Is c++ the most powerful language?
Why do we use using namespace std in c++?
What is the operator in c++?
Is c the same as c++?