/* Program to demonstrate straight / simple insertion sort */ #include #include void insert(int x[ ], int n) ; void show(int x[ ], int n) ; void main() { int i, n, x[20] ; clrscr() ; printf("Enter the number of elements: ") ; scanf("%d",&n) ; printf("Enter the elements:\n") ; for(i=0 ; i=0&&yx[j] */ /* The method show() is optional. It is written to show output of each pass. It may not be written in theory exam. It is required only in practical exams */