C Program For Selection Sort Using Functions