Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is an array

Answer Posted / srsabariselvan

an array is a collection of same type of data.
for eg:
list of student name,collection of roll numbers.
each element has unique id(index).
Declaration:
data_type a[size];
a[index]=number;
Eg:
int a[10];
a[0]=2;
a[1]=3;
.
.
.
a[9]=22;
printf("%d",a[9]);

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array in c with example?

1358


What are variables c?

1093


What are reserved words with a programming language?

1209


What is scope rule of function in c?

1149


When c language was developed?

1105


what is different between auto and local static? why should we use local static?

1171


Explain the priority queues?

1140


What is extern c used for?

1120


What is the difference between declaring a variable by constant keyword and #define ing that variable?

3439


What is calloc() function?

1164


What is an endless loop?

1323


When we use void main and int main?

1129


differentiate built-in functions and user – defined functions.

1148


What is the explanation for modular programming?

1274


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1410