what is array?
Answers were Sorted based on User's Feedback
Answer / senthiltime
Array is a collection of similar data types.
Is This Answer Correct ? | 289 Yes | 20 No |
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 |
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 |
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 |
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 |
Answer / khamseum
array is a collection of data items of same datatype
Is This Answer Correct ? | 63 Yes | 17 No |
Answer / abilash
It is a set of elements which stored under a single name.
Is This Answer Correct ? | 72 Yes | 30 No |
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 |
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 |
Write a program to print distinct words in an input along with their count in input in decreasing order of their count..
What is difference between structure and union?
#include <stdio.h> int main ( int argc, char* argv [ ] ) { int value1 = 10; int value2 = 5; printf ( "\n The sum is :%d", value1 | value2 ); } This is the answer asked by some one to add two numbers with out using arithmetic operator?Yes this answer is write it given out put as 15.But how????? what is need of following line? int main ( int argc, char* argv [ ] ) how it work?what is the meaning for this line? please explain me.Advance thanks
Write any data structure program (stack implementation)
what is memory leak?
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 2. Enter alphanumeric characters and form 2 array alphaets and digits.Also print the count of each array.
What are the characteristics of arrays in c?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What are the types of assignment statements?
How is a macro different from a function?
write a c program to find the probability of random numbers between 1-1000
a C prog to swap 2 no.s without using variables just an array?