Array:
An Array can be defined as a contiguous area in memory, which can be referred to by a common name. Arrays are used to group sets of like objects. Each element of the array can be referred to by the array name and a subscript or index, which uniquely identifies it.
It stores homogeneous data in itself.
The arrays are of two types:
- One dimensional array
- Multi dimensional array
Example 1: Take number of values and display it using array
Example 2: Largest in an array
Example 3:Program to get array average
Example 4: Reverse of an array
For more questions refer here: https://github.com/ssg8288/C-Programs-Additional-Content
Comments
Post a Comment
if you have any doubts, pls let me know