In the linked list's Picture the last element has a address 0 but we give the last node NULL please explain it
is NULL and 0 is same?
is NULL and 0 is same?
In such cases like linked list, Zero and NULL are used interchangeably. In theory NULL and in code (implementation) the value 0 is used. So Yes can be called as same.
Linked List has 0 and null same?
Reviewed by MCH
on
December 21, 2012
Rating:
No comments: