Question: in C + + Implement a function void getIndexesOfBiggestAnSmallest ( int nums [ ] , int length, int &biggest, int &smallest ) ; Your function
in C Implement a function
void getIndexesOfBiggestAnSmallestint nums int length, int &biggest, int &smallest;
Your function should set the parameters biggest and smallest to the indices of the largest and smallest elements in the array nums, given its length. You can assume that the array contains all distinct values and that the length is at least
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
