C Pointers Question:

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.


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