Following C program is used to find the insertion sort mechanism.
OUTPUT:
Enter the number of elements :: 7 Enter the elements :: 10 30 80 20 60 40 50 The sorted elements are :: 10 20 30 40 50 60 80
Following C program is used to find the insertion sort mechanism.
Enter the number of elements :: 7 Enter the elements :: 10 30 80 20 60 40 50 The sorted elements are :: 10 20 30 40 50 60 80