A ________ occurs when a program continues to use a pointer after it has been freed.

  • Buffer Overflow
  • Dangling Pointer
  • Memory Leak
  • Segmentation Fault
A Dangling Pointer occurs when a program continues to use a pointer after it has been freed. This can lead to undefined behavior, crashes, or data corruption. It's crucial to avoid using pointers that point to memory that has been deallocated.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *