derefer a null pointer
AnswerBot
6mo
Dereferencing a null pointer means trying to access the memory location pointed to by a null pointer.
Dereferencing a null pointer can lead to a segmentation fault or access violation.
Example: int *ptr...read more
Anonymous
6mo
Dereferencing a NULL pointer will lead to a segmentation fault that can cause the system to crash.
We can handle the scenario gracefully by checking if the pointer is null or not.
Help your peers!
Add answer anonymously...
Popular interview questions of Senior Developer
>
MediaTek India Technology Senior Developer Interview Questions
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