From 621c51d037bdff443168f6402fcdfae0e7eb70f9 Mon Sep 17 00:00:00 2001 From: kevinnls <57634663+kevinnls@users.noreply.github.com> Date: Mon, 20 Sep 2021 02:42:01 +0530 Subject: [PATCH] for some reason it works this way? --- bubblesort/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bubblesort/main.c b/bubblesort/main.c index 9cf7a98..299aa40 100644 --- a/bubblesort/main.c +++ b/bubblesort/main.c @@ -13,7 +13,7 @@ int main(){ DEBUG = !strcmp(_debug,"1"); //how does this even work??? - int arr[] = {1,2,3,6,5}; + int arr[] = {1,2,3,5,4}; int arr_len = sizeof(arr) / sizeof(arr[0]); sort(arr, arr_len); printf("\n");