Question: Write a recursive function that returns both the smallest and the largest element in an int array. Also, write a program to test your function.
Write a recursive function that returns both the smallest and the largest element in an int array. Also, write a program to test your function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
