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 |
can we define a function in structure?
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
What are identifiers c?
the maximum value that an integer constant can have is a) -32767 b) 32767 c) 1.701e+38 d) -1.7014e+38
a simple program in c language
How to develop software using "c" programming?
why ordinary variable store the later value not the initial
What is dynamic variable in c?
pgm in c to reverse string by word using array(god is love becomes love is god) (no additional array can used,space is only delimiter between words )
What is NULL pointer?
Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We.....Are....Student “ Note: one .=1 Space Output: "We Are Student"
Are the variables argc and argv are always local to main?