You are viewing a single comment's thread. Return to all comments →
you shouldn't post a solution here. also you should probably add newNode->next = NULL. incase you wanna be able to add elements to it later
Insert a Node at the Tail of a Linked List
You are viewing a single comment's thread. Return to all comments →
you shouldn't post a solution here. also you should probably add newNode->next = NULL. incase you wanna be able to add elements to it later