Consider a code snippet given below in C programming language:

void fun(struct node* start)
{
    if (start == NULL)
        return;
    if (start->next != NULL)
        printf("%d ", start->data);
    fun(start->next->next);
}

If the head of the following single linked list 7 → 6 → 5 → 4 → 13 → 14 → 16 is passed to the above function then the sum of the values printed is _____?

Enter numerical value using the virtual keypad. Round off where necessary.

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation