Question: In c++ language. Implement a function called find that takes in the following as parameters (in this order): The object we want to find within
In c++ language.
Implement a function called find that takes in the following as parameters (in this order):
The object we want to find within the array
A dynamic array of ANY type
The size of the array
This function should look within the array for the element specified and return the index position of the first instance of the element. If the element does not exist, the function should return -1.

Implement a function called find that takes in the following as parameters (in this order): The object we want to find within the array A dynamic array of ANY type The size of the array This function should look within the array for the element specified and return the index position of the first instance of the element. If the element does not exist, the function should return -1. #include using namespace std: // Write your find function here // Leave main black, or use it for teasting integral main() } return 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
