Answer Posted / 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 |
Post New Answer View All Answers
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
What are high level languages like C and FORTRAN also known as?
What are loops in c?
C program to find all possible outcomes of a dice?
What is structure in c definition?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What is define directive?
Write a program for Overriding.
What is a newline escape sequence?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
What does sizeof int return?
I need previous papers of CSC.......plz help out by posting them.......
Explain how do you view the path?
What is hash table in c?
What is operator promotion?