ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
The array is as follows: 1,2,3,6,8,10. At what time the element 6 is found (By using linear search(recursive) algorithm)
Correct Answer: A — 4th call
Provided that the search starts from the first element, the function calls itself till the element is found. In this case, the element is found in 4th call.