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
Can you please explain the difference between exit() and _exit() function?
Is Exception handling possible in c language?
The __________ attribute is used to announce variables based on definitions of columns in a table?
Can 'this' pointer by used in the constructor?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What is double pointer in c?
What is the difference between int main and void main?
How can a process change an environment variable in its caller?
What does nil mean in c?
Is using exit() the same as using return?
Explain what is the difference between functions abs() and fabs()?
Can math operations be performed on a void pointer?
What is the difference between malloc calloc and realloc in c?
What is d scanf?
What is meant by type casting?