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

Can you please explain the difference between exit() and _exit() function?

993


Is Exception handling possible in c language?

1991


The __________ attribute is used to announce variables based on definitions of columns in a table?

1132


Can 'this' pointer by used in the constructor?

1044


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

1043


What is double pointer in c?

984


What is the difference between int main and void main?

999


How can a process change an environment variable in its caller?

1128


What does nil mean in c?

1182


Is using exit() the same as using return?

1250


Explain what is the difference between functions abs() and fabs()?

1098


Can math operations be performed on a void pointer?

970


What is the difference between malloc calloc and realloc in c?

1070


What is d scanf?

1027


What is meant by type casting?

1020