Question: Here is the whole code. As you can see the sort function does not return anything. The median function fibds the median based on the

Here is the whole code. As you can see the "sort" function does not return anything. The "median" function fibds the median based on the sorted numbers in the array. I'm wonderig how does the median function get the sorted numbers(biggest to smallest) so that it can fibd the median when the sort function does not return anything?
How does the array gets transferred?  Here is the whole code. As you can see the "sort"
function does not return anything. The "median" function fibds the median based
on the sorted numbers in the array. I'm wonderig how does the
median function get the sorted numbers(biggest to smallest) so that it can

#include void sort (float xI],int length) float median (float x[],int length) int main (void) float x[]={12,8,3,5, 9, 8, 12, 66); int i; int length; float medianfinalr: //finding the length of the array length-sizeof (x)/sizeof (x[0]) //unsorted numbers printf (" nThe numbers unsorted for (#0 ;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!