FIND THE ANSWERS

Explain the concept of NULL pointer. Also give one example program. in c?

Answer this question

  • Explain the concept of NULL pointer. Also give one example program. in c?


Answers

Answer #1 | 23/12 2013 01:55
A-->B-->C--D-->0 If you have a linked list the last node will have a null pointer, unless you want to make your list circular.
Positive: 0 %
Answer #2 | 23/12 2013 03:03
Null pointer is used in linked list at the very last position to specify the end of linked list. If you are going to make a circular list the the pointer would point to the first node of the list that is not considered as a null pointer. Null pointer point to the base of any segment.

Possible answer