I\'m trying to write in c the partition function used for quicksort whose parameters are the array, length of array n and pivot index.
My code so far: