Update sorting/selection_sort_recursive.c

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
This commit is contained in:
DhruvPasricha 2021-02-24 23:57:23 +05:30 committed by GitHub
parent 63aded1ecc
commit f8c9ea04f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{