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

Function main

CPP/sorting/insertionsort.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 }
17}
18int main(){
19 int arr[]={5,3,2,4,1};
20 int n=sizeof(arr)/sizeof(int);
21 insertion_sort(arr,n);
22 for(auto it: arr)
23 cout<<it<<", ";
24}

Callers

nothing calls this directly

Calls 1

insertion_sortFunction · 0.85

Tested by

no test coverage detected