what is difference between array and structure?
Answer Posted / triveni
ARRAY:- array includes same type of data types.
we dont use any keyword while defining array.
array always passed/called by reference to function.
we cant copy one array to another even though both arrays
ae of same type.
it is fixed in size.
structure:-array includes same or differnt data type
elements .
we use struct keyword while definings structure.
by default structure passed/called by value to function.
we cant copy one structure to another if both are of same
struct type and having different variabe names.
it is not fixed in size.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can we increase size of array in c?
Are there constructors in c?
What are the general description for loop statement and available loop types in c?
What is sizeof in c?
can anyone please tell about the nested interrupts?
What does c mean in basketball?
What is c value paradox explain?
Is c easier than java?
what is event driven software and what is procedural driven software?
Why does this code crash?
What are derived data types in c?
Difference between MAC vs. IP Addressing
Why is c called c?
Differentiate Source Codes from Object Codes
What is meant by inheritance?