After Quicksort completes the partition function, where is the pivot?

The last position in the partition
  • Between the smaller values and the greater values in the partition
  • The first position in the partition
  • The middle position in the partition

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.