Applications support interview questions shared by candidates
What is a null pointer?
A pointer that points to nowhere or an empty location.
I guess what the interview want to hear is that "do not forget to release the memory the pointer pointed to before set it to null"
Once the memory is release using the delete command, the pointer is pointing to null. Now if we try to delete it again, the heap will be corrupt.
See Interview Questions for Similar Jobs
- Applications Support Engineer
- Software Engineer
- Software Development Engineer
- Software Developer
- Senior Software Engineer
- Applications Engineer
- Technical Support Engineer
- Associate Software Engineer
- Application Engineer
- Software Engineering
- Software Engineer Intern
- Software Development Engineer I
- Software Engineer I