diff --git a/QuickSort.c b/QuickSort.c new file mode 100644 index 0000000..b31bc33 --- /dev/null +++ b/QuickSort.c @@ -0,0 +1,47 @@ +#include +int swap(int &x,int &y); +int Partition(int *a,int start,int end) +{ + int pivot=a[end]; + int pIndex=start; + for(int i=start;i