GeekInterview.com
Series: Subject: Topic:
Question: 16 of 238

Pointer Drawback

What is the drawback of using pointer?
Asked by: nipa123456 | Member Since Mar-2010 | Asked on: Aug 22nd, 2010

View all questions by nipa123456

Showing Answers 1 - 1 of 1 Answers
abhijeetvv

Answered On : Dec 11th, 2012

View all answers by abhijeetvv

Since the pointers point to a memory location issues of dangling pointers and wild pointers can occur.
Dangling pointers are those pointers when the data at which they are pointed may have been modified or deleted.
But still the pointer points to that location.
The pointers that are not initialized lead to wild pointers because they will be pointing to some arbitrary memory.
Also memory leaks occur,if a memory is not released.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.