A simple sorting technique that scans the sorted list, starting at the beginning, for the correct insertion point for each of the items from the unsorted list… Read more »
Program
C Program for selection SORT
#include<stdio.h>
        #include<conio.h>
        void selsort(int[],int);
        void display(int[], int);
        void main()
        {
int num[20];
int n,i;
clrscr();
printf(" \n OUTPUT");
printf(" \n ********");
printf("\nEnter the value of N: ");
scanf("%d",&n);
printf("\nEnter the Numbers:\n");
for(i=0;i<n;i++)
scanf("\t%d",&num[i]);
printf("\n  Given Input:  ");
for(i=0;i<n;i++)
printf("%d  ",num[i]);
 selsort(num,n);
        printf("\n\t\tSelection Sort");
        printf("\n\t\t**************");
        printf("\n  Given Numbers in Sorted Order:\n");
        for(i=0;i<n;i++)
        printf("\t%d\n",num[i]);
        getch();
        }
        void selsort(int a[],int n)
        {
        int i,j;
        int min,t;
        // printf("\n\n Here , Selection sort find the smallest element fist.");
        printf("\n  Number of passes : %d", n-1);
        for(i=0;i<n-1;i++)
        {
        printf("\n\n PASS %d:", i);
        min=i;
        printf("\n\n    Assume min as %d", min);
        for(j=i+1;j<n;j++)
        {
        if(a[j]<a[min])
        {
        printf("\n    Comparison elements : %d < %d ", a[j], a[min]);
        min=j;
        }
 }
        printf("\n    Minimum Element and its position , %d %d" , a[min], min);
 t=a[i];
        a[i]=a[min];
        a[min]=t;
        display(a, n);
        }
}
        void display(int a[], int n)
        {
        int i;
        printf("\n\n      Ans :");
        for(i=0;i<n;i++)
        {
        printf("  %d  ",a[i]);
        }
        printf("\n\n");}
      
Sorting by MS.K.Abirami
- 
	BUBBLE SORTBubble sort is a sorting algorithm that works by repeatedly stepping through lists that need to be sorted, comparing each pair of adjacent items and swapping them ...Read more » 
- 
	INSERTION SORTSELECTION SORTIt starts by comparing the entire list for the lowest item and moves it to the #1 position. It then compares the rest of the list for the next-lowest item....Read more » QUICK SORTA sorting technique that sequences a list by continuously dividing the list into two parts and moving the lower items to one side and the higher items to the other. … Read more » BUBBLE SORTThe number of comparison between elements and the number of exchange between elements determine the efficiency of Bubble Sort algorithm.Read more » Insertion SORTInsertion sort is also a time taking technique as its complexity is O(n2)Read more » selection SORTThe number of comparison between elements and the number of exchange between elements determine the efficiency of Bubble Sort algorithm.Read more » quick SORTThe efficeieny of the quicksort depends on the pivot element. However the pivot element can also be choosen at random order or from the last element of the array