Write a selection sort program in C. Given an unsorted array, write a c code to sort an array using selection sort.
For example :
Input : {9, 8, 19, 2, 3 }
Output : { 2, 3, 8, 9, 19}
After sorting, array elements are arranged in a sorted order.