## C Program to Sort array of Structure

In this program we are accepting the data inside the structure array and then finding the maximum value of any of the structure member.

## C Program to Sort the list of Strings

Suppose you are having the list of strings then we are sorting all the strings in descending and ascending order.

## C Program to Implement Bubble Sort in C Programming

Bubble Sort in C : All Passes Program : [crayon-628f5fb28d5e6417896109/] What Happens After Each Iteration ? There are 'N' number of Unsorted Elements Total Number of Iterations = N-1 At the End of First Iteration : Largest Element Will get its Exact Final Position At the End of 2nd Iteration : 2nd Largest Element Will get its Exact Final Position . . . . At the End of (N-1)th Iteration : (N-1)th Largest Element Will get its Exact Final Position Output : [crayon-628f5fb28d5ef935177142/] Visual Explanation :

## C Program to Sort Structures on the basis of Structure Element

Sorting Two Structures on the basis of any structure element and Display Information Program Statement - Define a structure called cricket that will describe the following information Player name Team name Batting average Using cricket, declare an array player with 10 elements and write a program to read the information about all the 10 players and print a team wise list containing names of players with their batting average. [crayon-628f5fb28dd87847008981/] Output : [crayon-628f5fb28dd95501624002/] Explanation of C Program : Step 1 : Accept Data [crayon-628f5fb28dd9d192637100/] Step 2 : Sorting two Structures [crayon-628f5fb28dda3056451005/] Using [...]

## C Program to Implement Insertion Sort in C Programming

Program : [crayon-628f5fb28e925360821313/] Output : [crayon-628f5fb28e933991680527/]