// swap the two integer args // called by all the sort algorithms #include "array.h" extern MArray a; void swap (int i, int j) // tabulate memory faults { int temp = a[i]; a[i] = a[j]; a[j] = temp; }