/* Tests QSortRandom (p87 of K&R) on a text file read in using ReadBatch */ #include #define NMax 10 /* Function Prototypes */ int ReadBatch( int n, int CharArray[]); void QSortRandom(int v[], int left, int right); void Swap(int v[], int i, int j); main() { int ActualSize,i; int v[NMax]; /* Reading the Data */ ActualSize=ReadBatch(NMax,v); /* Note that the QSort algorithm actually believes there is an entry at v[right] This is not quite the normal C thing */ if(ActualSize