Results 1 to 2 of 2

Thread: Can someone explain me what is dangling pointer in C language?

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Answers
    13

    Can someone explain me what is dangling pointer in C language?

    Hi
    Can someone explain me what is dangling pointer in C language?


  2. #2
    Junior Member
    Join Date
    Feb 2006
    Answers
    8

    Re: Can someone explain me what is dangling pointer in C language?

    A dangling pointer is when you have 1 or more pointers to memory that has been freed, but the pointer(s) still points to the memory block that used to be allocated. Typically the programmer will set one of the pointers to NULL when it is freed but another pointer is still pointing to the old memory block that the programmer is unaware of.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact