MCPcopy Create free account
hub / github.com/chaharnishant11/CodeIn10DSA / swap

Function swap

Sorting/Homework/quickSort.cpp:17–21  ·  view source on GitHub ↗

} Driver Code Ends User function Template for C

Source from the content-addressed store, hash-verified

15 // } Driver Code Ends
16//User function Template for C
17void swap(int *nums,int i,int j){
18 int temp = nums[i];
19 nums[i]=nums[j];
20 nums[j]=temp;
21}
22//Function to sort an array using quick sort algorithm.
23void quickSort(int arr[], int start, int end)
24{

Callers 1

partitionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected