From 0ceab1d100b63e8a3eb786794322a3c6869677bc Mon Sep 17 00:00:00 2001 From: Arpita1820 <91556096+Arpita1820@users.noreply.github.com> Date: Fri, 15 Oct 2021 17:59:58 +0530 Subject: [PATCH] Selection Sort in C Selection Sort in C Language --- selectionSort.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 selectionSort.c diff --git a/selectionSort.c b/selectionSort.c new file mode 100644 index 0000000..a643f79 --- /dev/null +++ b/selectionSort.c @@ -0,0 +1,41 @@ +#include +#include + +struct array{ + int *A; + int size; +}; + +void SelectionSort(int B[],int size){ + + for(int i=0;i