Update sorting/selection_sort_recursive.c

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

View File

@ -26,7 +26,7 @@ void swap(int *first, int *second)
* @param arr array to be sorted
* @param size size of array
*/
int findIndex(int *arr, int size)
int findIndex(const int *arr, const int size)
{
if (size == 1)
{