Write a program that uses pointers to type double variables to accept 10 numbers from the user, sort them, and print them to the screen. (Hint: See Listing 16.3.)
Why the global array? You should be passing the array to and from the functions as required, this is probably the whole point of this exercise.