what is difference between array and structure?
Answer Posted / rkv charan
Array:
1.static memory allocation.
2.array size is fixed.
3.array can't have bit fields.
structure:
1.Dynamic memory allocation.
2.structure size is changed dynamically.
3.structure can contain bit fields.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what are the different storage classes in c?
What is the use of printf() and scanf() functions?
Explain how do you search data in a data file using random access method?
What is #include cctype?
What is the sizeof () operator?
What is the use of volatile?
Is a house a shell structure?
How can I copy just a portion of a string?
Why is c called c?
What is the difference between malloc() and calloc()?
Explain the Difference between the New and Malloc keyword.
Describe newline escape sequence with a sample program?
How do you generate random numbers in C?
Explain about the constants which help in debugging?
What is build process in c?