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 array?

Answer Posted / geetha gajendiran

array is a collection of similar data types;
i can explain with following example:
#include<stdio.h>
void main()
{
int x;
x=5;
x=10;
printf("\nx=%d",x);
}
here 10 is assigned to x.thereby 5 get lost.this is
applicable when only one value is stored.

but,if we want to store more than one value at a time in a
single variable.we go for using the array

suppose we want to arrange the payment of 100 workers in
ascending order.we have 2 options
1)construct 100 vari8ables to store the payment amount
obtained by 100 different workers.
2)construct one(1) variable (called array or subscripted
variable) capable of storing or holding all the hundred
values.


for more question and answers regarding computer
engineering please mail to me.

Is This Answer Correct ?    20 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the similarities between c and c++?

1001


What is the best style for code layout in c?

1045


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

1127


What does %c do in c?

938


Tell me what is the purpose of 'register' keyword in c language?

968


Why c is called object oriented language?

1003


What is volatile c?

958


Can a file other than a .h file be included with #include?

1098


Can you write the function prototype, definition and mention the other requirements.

1082


What is the difference between #include

and #include “header file”?

969


What does the c in ctime mean?

1015


Is c is a low level language?

1067


How do we make a global variable accessible across files? Explain the extern keyword?

1826


Is multithreading possible in c?

949


what are the facialities provided by you after the selection of the student.

2173