Math, asked by hemavarsha139, 2 months ago

Question No. 1 of 20
4 Marks 1 Negative Marks
What is the output of following function for given linked list 1->2--3->4->5->6 with start pointing to first
Node of linked list?
O 135531
void fun(struct node* start)
(
if(start NULL)
return;
printf("%d", start->data);
O 135246
O 135135
if(start->next != NULL)
fun(start->next->next);
printf("%d", start->data);
O 135642
}
Next Question
This website uses cookies. By continuing to use this website, you agree to their use. Further information about cookies can be found in our​

Answers

Answered by makanksha066
0

Answer:

void fun1(struct node* head)

{

if(head == NULL)

return;

fun1(head->next);

printf("%d ", head->data);

}

Similar questions