Answer:
The answer is "Option b".
Step-by-step explanation:
In the given question, a function "search" is defined. That searches element that is passed in the function by parameter. To search more quickly we must add another parameter in the function. and other options are not correct that can be described as:
- In option a, We add another element in parameter to start searching not to stop.
- In option c, The function can not find an element that occurs in the array target.
- In option d, Function will not return array it will return only index value.