Question: 6) Write a function void bubbleSort(int * nums, int length) that sorts the array nums using the bubblesort algorithm. Use pointer notation. (No square brackets
6) Write a function void bubbleSort(int * nums, int length) that sorts the array nums using the bubblesort algorithm. Use pointer notation. (No square brackets allowed). Recall: bubblesort swaps adjacent values that are out of order in each of the length-1 passes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
