Monday 7 November 2011

When is a null pointer used? in C programming

When is a null pointer used?

The null pointer is used in three ways:

To stop indirection in a recursive data structure
As an error value
As a sentinel value

No comments:

Post a Comment