1.

Consider the following recursive implementation to find the largest element in a linked list: Which of the following arguments should be passed to the function max_of two() to complete the above code?

A. temp->val,recursive_get_max(temp->next)
B. temp, temp->next
C. temp->val, temp->next->val
D. temp->next->val, tempView Answer
Answer» B. temp, temp->next


Discussion

No Comment Found