write a program to concatenate two singly linked list.
Answers
Answered by
0
Traverse over the linked list 'a' until the element next to the node is not NULL.
If the element next to the current element is NULL (a->next == NULL) then change the element next to it to 'b' (a->next = b).
Similar questions