C program for Selection Sort.