From 2804fb5b637464331070102a73703ff8ea15e6b0 Mon Sep 17 00:00:00 2001 From: kevinnls <57634663+kevinnls@users.noreply.github.com> Date: Mon, 20 Sep 2021 10:45:59 +0530 Subject: [PATCH] output statements --- bubblesort/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bubblesort/main.c b/bubblesort/main.c index cb60607..b89321e 100644 --- a/bubblesort/main.c +++ b/bubblesort/main.c @@ -16,6 +16,11 @@ int main(){ int arr[] = {1,2,3,5,4}; int arr_len = sizeof(arr) / sizeof(arr[0]); sort(arr, arr_len); + printf("sorted array: "); + for(int i=0; i