(4.00 Puanlar) 2- Which of the following lines are used to fill the blank parts of the following code block for the purpose of
(4.00 Puanlar) 2- Which of the following lines are used to fill the blank parts of the following code block for the purpose of combining two singly link list by appending list2 to list1. void combine(struct node *list1,struct node *list2) { } if( list1 != NULL && list2!= NULL) { } else { a) V, VI, VIII b) I, II, IV c) O VII, VIII, IX d) III, VI, X } if ( else printf("Either list1 or list2 is NULL "); I-list2->next == NULL II - combine(list2->next,list1->next) III - list1->next == NULL IV - list2->next = list1 -> next V - list1->next != NULL VI - list1->next = list2 VII - list2->next = list1 VIII - combine(list2->next,list1) IX-list2->next != NULL X - combine(list1->next,list2)
Step by Step Solution
3.48 Rating (168 Votes )
There are 3 Steps involved in it
Step: 1
Question 1 d III VI X void combinestruct node list1struct node list2 if...See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started