Can you deallocate memory of a null pointer?
AnswerBot
1y
No, you cannot deallocate memory of a null pointer.
Deallocating memory of a null pointer will result in undefined behavior.
Null pointers do not point to any valid memory location.
Attempting to dealloc...read more
Help your peers!
Add answer anonymously...
Top Polaris interview questions & answers
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app