Reported in a candidate post, Nov 2020
Difference between null pointer and dangling pointer
Filed under Cognizant
The question
Explain the concepts of a null pointer and a dangling pointer in programming and how they differ.
No write-up yet. Related questions below have one.
Related Cognizant questions
Collected from public candidate posts and coding forums. Updated Nov 2026.