Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a dangling pointer?

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


Please Help Members By Posting Answers For Below Questions

Explain class invariant.

1065


what are function pointers?

1060


Write is a binary search tree? Write an algo and tell complexity?

1025


How do I exit turbo c++?

1075


Can we make any program in c++ without using any header file and what is the shortest program in c++.

1134


What gives the current position of the put pointer?

1001


Can you overload the operator+ for short integers?

1043


What are the various compound assignment operators in c++?

985


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)

1950


What is &x in c++?

1003


Which bit wise operator is suitable for turning off a particular bit in a number?

1118


Explain what you mean by a pointer.

1104


What is #include sstream?

1064


Is dev c++ free?

1047


What are signs of manipulation?

1069