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.
0 Comments
Please add nice comments or answer ....