// Insert.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include //this is array size #define SIZE 15 int main() { //this is the array we want to sort int array[]={23,22,10,3,9,2,1,5,6,0,34,44,55,22,11}; //function declaration void InsertionSort(int * ,int); //we call the function to sort array: InsertionSort(array,SIZE); //these lines just prints all values in array after sorting: int i=0; for(i=0;i=j;k--) a[k+1]=a[k]; a[j]=select; } } } }