Array
Array is collection of same type of data.
For example :we see Train ,which consists of same types of coaches
.In same way In C programming Collection of same type of data int ,char ,float is Knows Array.
When we use Array
Suppose In a classroom collection of boys is considered as Array of int type.If there are 50 students in classroom so we declare
int boys[50];
c programming
Array is collection of same type of data.
For example :we see Train ,which consists of same types of coaches
.In same way In C programming Collection of same type of data int ,char ,float is Knows Array.
When we use Array
Suppose In a classroom collection of boys is considered as Array of int type.If there are 50 students in classroom so we declare
int boys[50];

No comments:
Post a Comment