#include void insertionSort(int a[], int n) { int i, j, t; for(i=0;i=0 && t<=a[j]){ a[j+1] = a[j]; j -= 1; } a[j+1] = t; } } void bubbleSort(int a[], int n) { int i, j, t; for(i=0;ia[j]) { t = a[i]; a[i] = a[j]; a[j] = t; } } int main() { int n,i; printf("Enter the size of array:"); scanf("%d",&n); int arr[n], brr[n]; printf("\nEnter array elements:"); for(i=0;i