Chapter 17: Problem 5
Display 7.10 shows a function called search, which searches an array for a specified integer. Give a function template version of search that can be used to search an array of elements of any type. Give both the function declaration and the function definition for the template. Hint: It is almost identical to the function given in Display 7.10
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.