Multiple choice

Which of the following is true about dangling pointer in C language?

  1. It points to allocated memory.

  2. It points to freed or deallocated memory.

  3. It points to pointer.

  4. It points to variables.

  5. It points to register variables.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Dangling pointer points to deallocated memory.