Campus interview zone
Would you like to react to this message? Create an account in a few clicks or log in to continue.

What is a dangling pointer?

Go down

What is a dangling pointer? Empty What is a dangling pointer?

Post  Admin Sun Jan 31, 2010 5:32 pm

Answer:
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.

Database interview questions

Click here More information available

Admin
Admin

Posts : 71
Join date : 2010-01-21

http://campus-interview.co.cc

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum