When is a null pointer used? Ans. The null pointer is used in three ways: 1. To stop indirection in a recursive data structure. 2. As an error value. 3. As a sentinel value. 1. Using a Null Pointer to Stop Indirection or Recursion Recursion is when one thing is defined in t...
See more
Download the Study24x7 App, so you can connect and collaborate.