Introduction to Arrays
In this part you will learn:
2. Sorting using arrays
4. Showing output
In this tutorial I will teach you how to use arrays.
What is an Array ?
An array is a set of variables which you can declare in a single statement. For example if you want to make a result calculating program you need to declare the total number of students first. So instead of declaring student1, student2 etc you can write int students; in this way we declared 40 variables in a single statement.
Sorting the array in descending order
Open Dev C