sort1.c contains the first steps towards developing a selection sort program in C.

sort2.c contains the finished program.

The next step would be to factor out the populating of the array, sorting the array, and printing the array into separate functions.