what is an array
Answers were Sorted based on User's Feedback
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 |
Answer / anusha
an array is a continous memory of same data type.
| Is This Answer Correct ? | 2 Yes | 0 No |
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 |
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 a Deque?
can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance
Explain what is meant by high-order and low-order bytes?
what is the self-referential structure?
Why we use int main and void main?
what is the use of keyword volatile??
Please write me a program to print the first 50 prime numbers (NOT between the range 1 -50)
What is use of null pointer in c?
main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? }
22 Answers NDS, TCS,
What is the sizeof () operator?
What is clrscr in c?
3. When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these