#include void selectionSort(int arr[], int arrSize) { int i, j, k; // Algorithm for sorting. for (i = 0; i <= arrSize - 2; i++) for (j = i + 1; j <= arrSize - 1; j++) if (arr[i] > arr[j]) { int temp = arr[i]; arr[i] = arr[j]; arr[j] = temp; } //End of algorithm. } /* int main() { int arr[' '],arrSize,i; printf("Enter size of the array :: "); scanf("%d",&arrSize); printf("\nEnter elements of the array ::\n"); for(i=0; i