Question: Write a function in C which will find the second-largest maximum of an array of 10 numbers. For the assignment below, we would expects
Write a function in C which will find the second-largest maximum of an array of 10 numbers. For the assignment below, we would expects secondmax (numbers, 10) to return 67. (20 points) int numbers [10] = {23, 4, 5, 67, 11, 30, 98, -4, -28, 10}; int secondmax (int *numbers, int len) { // ... you write this function }
Step by Step Solution
There are 3 Steps involved in it
int secondmaxint numbers int len int largest numbers0 ... View full answer
Get step-by-step solutions from verified subject matter experts
