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

Function main

CPP/sorting/Recursive Insertion Sort.cpp:40–49  ·  view source on GitHub ↗

Driver program to test insertion sort */

Source from the content-addressed store, hash-verified

38
39/* Driver program to test insertion sort */
40int main()
41{
42 int arr[] = {12, 11, 13, 5, 6};
43 int n = sizeof(arr)/sizeof(arr[0]);
44
45 insertionSortRecursive(arr, n);
46 printArray(arr, n);
47
48 return 0;
49}

Callers

nothing calls this directly

Calls 2

insertionSortRecursiveFunction · 0.85
printArrayFunction · 0.70

Tested by

no test coverage detected