You are on page 1of 3

Arrays in C | Programmerdouts

programmerdouts.blogspot.com/2019/06/arrays-in-c.html

Array
why there is a need of Array ?

Till now we have worked with datatypes like int,float ,which stores
only single data at a time.
But, in a real life problem you will have to face large number of
data at a time.
eg: to store marks of 100 students.
This, thing you can't do with data types like int ,float, etc.
For, that 'C' language provides with data structure called Array.

1D ARRAY

What is Array?

Array is collection of data ,which belongs to same data type.


If you have integer type of data then you have to go with int type of
Array, if you have float type of data then you have to go with Array
1/3
of float type and so on.
Because Array stores the data of same data type.
Data in Array is store in one sequence, which means one next to
the another.
This functionality of storing data sequentialy, Accessing data
becomes very easy.
In Array each element has a unique index number which starts
from 0.
See the below image ,to Understand array more better.
below is image of int type of Array
Types of Array
One dimensional Array.
Multi dimensional Array.

Further Concepts:

How to declare array ?


how to Initialize an array?
What is One Dimensional Array
Concept of One Dimensional Array
Concept of Initializing One Dimensional Array
How to take array elements as input from the User
What is Two Dimensional Array ?
Concept of Two Dimensional Array
How to initialize Two Dimensional Array?
How to take Elements of Two dimensional array from the User?
How to display 2D Array As an Table?
Practice Program Regarding Arrays

Practice Programs
2/3
Programs regarding Arrays
Programs Regarding 2d arrays
Programs regarding matrix
And lot more

3/3

You might also like