Script started on Wed Oct 17 23:14:12 2012 River[10]% gcc qsort1.c River[11]% River[11]% ./a.out Original array: A[0] = 2 A[1] = 7 A[2] = 91 A[3] = 23 A[4] = 14 A[5] = 72 A[6] = 19 A[7] = 31 A[8] = 44 A[9] = 62 A[10] = 34 A[11] = 11 A[12] = 51 A[13] = 62 A[14] = 22 A[15] = 81 A[16] = 45 A[17] = 54 A[18] = 67 A[19] = 74 A[20] = 24 A[21] = 15 A[22] = 41 A[23] = 83 A[24] = 88 Sorted array: A[0] = 2 A[1] = 7 A[2] = 11 A[3] = 14 A[4] = 15 A[5] = 19 A[6] = 22 A[7] = 23 A[8] = 24 A[9] = 31 A[10] = 34 A[11] = 41 A[12] = 44 A[13] = 45 A[14] = 51 A[15] = 54 A[16] = 62 A[17] = 62 A[18] = 67 A[19] = 72 A[20] = 74 A[21] = 81 A[22] = 83 A[23] = 88 A[24] = 91 River[12]% River[12]% exit exit Script done on Wed Oct 17 23:14:21 2012