SyntaxFix
Write A Post
Hire A Developer
Questions
loop to the last element of the linked list which have next pointer to null then modify the next pointer to point to a new node which has the data=object and next pointer = null