// // parameter_passing_by_reference.c // // // Created by Bibhas Ghoshal on 30/09/19. // #include int minimum (int x[], int y); main() { int a[100], i,j, n, m; scanf ("%d", &n); for (i=0; i x[i]){ min = x[i]; // each element is compared iteratively to min. If smaller the element becomes the new min else the min remains unchanged } x[i-1] = min; // updates the last element of the array with the min return (min); }