C Pointers Question:

Download Job Interview Questions and Answers PDF

For what purpose null pointer used?

C Pointers Interview Question
C Pointers Interview Question

Answer:

The null pointer is used in three ways:
► To stop indirection in a recursive data structure.
► As an error value.
► As a sentinel value.

Download C Pointers Interview Questions And Answers PDF

Previous QuestionNext Question
How many levels of pointers have?Tell me when is a void pointer used?