i have the two linked lists if we apply the following statement to these two lists wtih temp being a temporary pointer, what would happen. im pulling my hair out over this, could anyone please help
temp = list1;
while(temp -> link != NULL)
temp = temp -> link;
temp -> link = list2;