If we want to find last node of a singly linked list then the correct coding is

1
if (temp-link ! = NULL) temp = temp-link 
2
if (temp-data = Num) temp = temp-link
3
While (temp-link ! = NULL) temp = temp-link 
4
While (temp-link! = data) temp = temp-link

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation