MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Function main

CPP/sorting/quicksort.cpp:65–73  ·  view source on GitHub ↗

Driver Code

Source from the content-addressed store, hash-verified

63
64// Driver Code
65int main()
66{
67 int arr[] = { 10, 7, 8, 9, 1, 5 };
68 int n = sizeof(arr) / sizeof(arr[0]);
69 quickSort(arr, 0, n - 1);
70 cout << "Sorted array: \n";
71 printArray(arr, n);
72 return 0;
73}

Callers

nothing calls this directly

Calls 2

quickSortFunction · 0.70
printArrayFunction · 0.70

Tested by

no test coverage detected