Here traverse of linked list is not working only the data of last node is print. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson