0

Linked list

can anyone help me in writing the algorithm of traversing in a single linked list?

18th Aug 2018, 6:21 PM
Elizabeth_de_luca
Elizabeth_de_luca - avatar
1 Resposta
+ 2
Geeta Yadav below might be helpful to you: current = head; while (current != NULL) { //do your stuff here to access data current = current->next; }
18th Aug 2018, 7:07 PM
Ketan Lalcheta
Ketan Lalcheta - avatar