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

Can a Structure contain a Pointer to itself?

1092


What are the stages in the development cycle?

1008


What are maps in c++?

915


Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

1215


How to demonstrate the use of a variable?

1070


What is the full form of stl in c++?

1159


Which programming language should I learn first?

1058


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

1488


How a modifier is similar to mutator?

1127


What is a .h file c++?

1006


Is it possible for a member function to use delete this?

1035


How are virtual functions implemented in c++?

1034


How do you establish an is-a relationship?

1099


What is problem with overriding functions?

1023


Do vectors start at 0?

958