After Quicksort completes the partition function, where is the pivot?
When partition is called, the pivot is at the end of the partition.
The partition operation itself does not move the pivot. That is done afterwards by the Quicksort function itself.