what is array?

Answers were Sorted based on User's Feedback



what is array?..

Answer / senthiltime

Array is a collection of similar data types.

Is This Answer Correct ?    289 Yes 20 No

what is array?..

Answer / vignesh1988i

an array ia an homogenous collections of same data types
which occupies continues memory locations .......

Is This Answer Correct ?    166 Yes 31 No

what is array?..

Answer / anandmayi

An array is a collection of homogenous data elements which are
stored in consecutive memory locations.Always address location
of array starts from 0.

Is This Answer Correct ?    143 Yes 24 No

what is array?..

Answer / yug

array is a sequential collection of elements of same data
types and those are stored in contiguous memory locations.

Is This Answer Correct ?    80 Yes 15 No

what is array?..

Answer / manipal singh

Array is a collection of similar data types which stored in
contiguous memory locations

Is This Answer Correct ?    65 Yes 9 No

what is array?..

Answer / khamseum

array is a collection of data items of same datatype

Is This Answer Correct ?    63 Yes 17 No

what is array?..

Answer / abilash

It is a set of elements which stored under a single name.

Is This Answer Correct ?    72 Yes 30 No

what is array?..

Answer / jolly

array is on type of index

Is This Answer Correct ?    43 Yes 25 No

what is array?..

Answer / geetha gajendiran

a simple program using array

#include<stdio.h>
void main()
{
int avg,sum=0;
int i;
int pay[30];/*array declaration*/
for(i=0;i<=29;i++)
{
printf("\n enter payment:");
scanf("%d",&pay[i]);/*store data in array*/
}
for(i=0;i<=29;i++)
sum=sum+pay[i];/*read data from an array*/
avg=sum/30;
printf("\n average marks =%d",avg);
}

Is This Answer Correct ?    20 Yes 2 No

what is array?..

Answer / junaid a mullaji

An array is a method for storing information on multiple
devices.

By
Junaid A. Mullaji

Is This Answer Correct ?    50 Yes 33 No

Post New Answer

More C Interview Questions

What is difference between main and void main?

0 Answers  


How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST

6 Answers   Adobe, Huawei,


I have an array of 100 elements, each of which is a random integer. I want to know which of the elements: a) are multiples of 2 b) are multiples of 2 AND 5 c) have a remainder of 3 when divided by 7

1 Answers  


write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.

0 Answers   TCS,


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

0 Answers  






Which is better between malloc and calloc?

0 Answers  


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

0 Answers   Aspire, Infogain,


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

0 Answers  


FIND THE OUTPUT IF THE INPUT IS 5 5.75 void main() { int i=1; float f=2.25; scanf("%d%f",&i,&f); printf("%d %f",,i,f); } ANSWER IS 5 AND 2.25 WHY?

4 Answers   Wipro,


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

4 Answers   Subex,


to find the closest pair

0 Answers   Infosys,


how 2 compile & execute c program with out using editor?

2 Answers   HP,


Categories