Interview Question

Embedded Software Engineer Interview(Student Candidate) Atlanta, GA

What happens when you try to free a null pointer

Answer

Interview Answer

1 Answer

0

nothing free handles a null pointer and does nothing... i.e. if(ptr == null) return;

Interview Candidate on Oct 3, 2011

Add Answers or Comments

To comment on this question, Sign In with Facebook or Sign Up