int arr[ ]nclrscr()printf("\ enter the size of the array ")scanf("% "& )read_array(arrn)interchange(arrn)printf("\ the new array is")display_array(arr, )getch()return void read_array(int my_array[ ]int nint ifor( = ; < ; ++printf("\ arr[% " )scanf("% "&my_array[ ])void display_array(int my_array[ ]int nint ifor( = ; < ; ++printf("\ arr[% % "imy_array[ ])void interchange(int my_array[ ]int nint tempbig_possmall_posbig_pos find_biggest_pos(my_arrayn)small_pos find_smallest_pos(my_array, )temp my_array[big_pos]my_array[big_posmy_array[small_pos]my_array[small_postempint find_biggest_pos(int my_array[ ]int nint ilarge my_array[ ]pos= for( = ; < ; ++if (my_array[ilargelarge my_array[ ]pos=ireturn posint find_smallest_pos (int my_array[ ]int nint ismall my_array[ ]pos= for( = ; < ; ++if (my_array[ismallsmall my_array[ ]pos=