what is difference between array and structure?
Answer Posted / chaudhary paresh
- Array elements are homogeneous. Structure elements are of
different data type.
- Array allocates static memory and uses index / subscript
for accessing elements of the array. Structures allocate
dynamic memory and uses (.) operator for accessing the
member of a structure.
- Array is a pointer to the first element of it. Structure
is not a pointer
- Array element access takes less time in comparison with
structures.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
can we have joblib in a proc ?
What is %s and %d in c?
What does c mean in standard form?
Why is extern used in c?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
What are the advantages of the functions?
What is scope rule in c?
What is scanf_s in c?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
Who is the founder of c language?
What's the right way to use errno?
int far *near * p; means
Is c procedural or functional?
Explain how do you list files in a directory?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping