to reach end of linked list there are two ways
1)while(temp!=NULL)
2)while(temp->next!=NULL)
what is the difference btw both of them??
to reach end of linked list there are two ways
1)while(temp!=NULL)
2)while(temp->next!=NULL)
what is the difference btw both of them??