Question: C++: Modify this function to check if the racer name input is the same as the name already in the array. If yes, return the
C++:
Modify this function to check if the racer name input is the same as the name already in the array. If yes, return the name of the racer again. if no match, the function shall return 0.
unsigned check(const Racer a[], unsigned i, const string& racer)
{
return 0;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
