#include<stdio.h> #include<stdlib.h> int A[50], n; // CheckFor: Create new Array void CreateArray(){ // CheckFor: Declaration of local variable int i = 0; // LoopFor: Accepet the array elements using random function for ( i = 0; i < n; i++) A[i] = rand(); } // CheckFor: Display the Array void DisplayArray(){ // CheckFor: Declaration of local variable int i = 0; // Checkfor: Display the array elements printf("The array elements are: \t"); // LoopFor: Display the array elements for ( i = 0; i < n; i++) printf("%d \t", A[i]); } void QuickSort(int low, int high){ // CheckFor: Declaration of local variable int pivot, t, i, j; // CheckFor: Array is empty or not if ( low <= high){ // CheckFor: Initialise the pivot, low and high pivot = A[low]; i = low + 1; j = high;