diff --git a/template/7-pointers-arrays/selection-sort.c b/template/7-pointers-arrays/selection-sort.c index 4f7a45c..9bb35f7 100644 --- a/template/7-pointers-arrays/selection-sort.c +++ b/template/7-pointers-arrays/selection-sort.c @@ -24,7 +24,7 @@ int main(void) { return 0; } -void SelectionSort(int *arr, int len) { +void SelectionSort(int arr[], int len) { for (int i = 0; i < len; i++) { int min_index = GetMinIndex(arr, i, len); Swap(arr, i, min_index);