

MCQOPTIONS
Saved Bookmarks
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 below code? |
A. | temp->val,recursive_get_max(temp->next) |
B. | temp, temp->next |
C. | temp->val, temp->next->val |
D. | none of the mentioned |
Answer» B. temp, temp->next | |