what is difference between array and structure?
Answer Posted / sajid ali khan
ARRAYS: -
An array may contain a number of items all of the SAME TYPE,
including user-defined types such as structures (see above).
Structure: -
In the C programming language, a structure may contain
MULTIPLE DATA TYPES, also including arrays of those types,
and the structure becomes a USER-DEFINED type.
| Is This Answer Correct ? | 14 Yes | 7 No |
Post New Answer View All Answers
What is C language ?
Why we use conio h in c?
What is function prototype in c with example?
Can true be a variable name in c?
Which type of language is c?
When should you not use a type cast?
When should we use pointers in a c program?
What is wrong with this declaration?
What is difference between class and structure?
What is union in c?
Is c easy to learn?
Why is c so powerful?
Is there any data type in c with variable size?
Explain union. What are its advantages?
What is a macro?