Selection Sort in CIt is a comparison based sorting algorithm where we try to find the smallest element in the whole array and swap it with the first index of…Mar 25Mar 25
Bubble Sort Algorithm Using CBubble sort is a sorting algorithm in this algorithm what we do is we compare two adjacent index with each other until the sorted array is…Mar 23Mar 23
2 Pointer ApproachWe use two pointer approach for many problems for finding two sums, sorting, binary search, palindrome problems etc. But for now we will…Mar 11Mar 11
Pointers in C languageA pointer is a variable which stores the address of another variable in a memory location. Instead of storing the value of the variable…Feb 28Feb 28