mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-24 22:39:52 +03:00
Update sorting/selection_sort_recursive.c
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
This commit is contained in:
parent
63aded1ecc
commit
f8c9ea04f9
@ -49,7 +49,7 @@ int findIndex(const int *arr, const int size)
|
||||
* @param arr array to be sorted
|
||||
* @param size size of array
|
||||
*/
|
||||
void selectionSort(int *arr, int size)
|
||||
void selectionSort(int *arr, const int size)
|
||||
{
|
||||
if (size == 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user