#include using namespace std; int partition(int *a, int start, int end){ int pivot=a[end]; //P-index indicates the pivot value index int P_index=start; int i,t; //t is temporary variable //Here We will check if array value is less than pivot //Then we will place it at left side by swapping for(i=start;i>n; int a[n]; cout<<"Enter the array elements :\n"; for(int i=0;i>a[i]; } Quicksort(a,0,n-1); cout<<"After Quick Sort the array is :\n"; for(int i=0;i