a) Pointer pointing to non-existent memory location is called dangling pointer
b) When a dynamically allocated pointer references the original memory after it has been freed, a dangling pointer arises
c) If memory leak occurs, it is mandatory that a dangling pointer arises
d) Dangling pointer may result in segmentation faults and potential security risks
The incorrect statement with respect to dangling pointers is ___________
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
The incorrect statement with respect to dangling pointers is ___________
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!