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

Answers were Sorted based on User's Feedback



what is an array..

Answer / 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

what is an array..

Answer / anusha

an array is a continous memory of same data type.

Is This Answer Correct ?    2 Yes 0 No

what is an array..

Answer / j j ramesh

it is the ordered collection of same type of variable.
accessed by index value range starts from 0

Is This Answer Correct ?    1 Yes 0 No

what is an array..

Answer / mukul garg

an array is a collectiom of similar data types .an array
index always stsrt from zero if the size of array is n then
it can store n elements .
int a[5]={1,2,3,4,5};

Is This Answer Correct ?    1 Yes 1 No

what is an array..

Answer / jyoti

An Array is a Drived data type

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

explain what is an endless loop?

0 Answers  


what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it

5 Answers   DIT,


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

0 Answers  


in iso what are the common technological language?

0 Answers  


Write a program to reverse a given number in c language?

0 Answers  


Write a C++ program to give the number of days in each month according to what the user entered. example: the user enters June the program must count number of days from January up to June

0 Answers  


what is the difference between class and unio?

0 Answers   HCL, Wipro,


Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }

4 Answers   Subex,


Toggle nth bit in a given integer - num

5 Answers   Qualcomm,


C passes By value or By reference?

5 Answers   Geometric Software, Infosys,


how can i get the output 54321 4321 321 21 1 in c programming........???? pls help......

10 Answers   Infosys,


How do you use a 'Local Block'?

0 Answers   Ericsson,


Categories