In this code, the value pivotPoint returned by partition

Consider the code
```
static void doQuickSort(int array[ ], int start, int end)
{
int pivotPoint;
if (start < end)
{
pivotPoint = partition(array, start, end);
doQuickSort(array, start, pivot-1);
doQuickSort(array, pivot+1, end);
}
}

```

A) is the value of the array element that is greater than each element of the first sublist, and less or equal to each element of the second sublist
B) is the position of the array element that is greater than each element of the first sublist, and less or equal to each element of the second sublist
C) is the element X such that half the elements of the array are less than X, and half the elements of the array are greater or equal to X
D) None of the above

B) is the position of the array element that is greater than each element of the first sublist, and less or equal to each element of the second sublist

Computer Science & Information Technology

You might also like to view...

To view a table's Property Sheet, you click the Property Sheet button in the:

A) Show/Hide group on the Sort/Index tab. B) Page Layout group on the Sort/Index tab. C) Page Layout group on the Design tab. D) Show/Hide group on the Design tab.

Computer Science & Information Technology

The cell reference M$10 can be used as a defined name

Indicate whether the statement is true or false

Computer Science & Information Technology