answersLogoWhite

0


Best Answer

An array is a collection of related data elements of same type.

Structure can have elements of different types.

An array is a derived data type.

A structure is a programmer-defined data type.
A struct can contain multiple data types, whereas an array can not.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

All array elements must be of the same type. Structure can have its elements of different types.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between an array and structure?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is difference between structure and array?

An array is a made up of elements of the same type e.g. strings or integers. A structure on the other hand can be made up of elements of different types.


What is the difference between queues and circular queues?

A queue can use a dynamic array, or a linked list, but if using static memory, the queue becomes a circular queue because the underlaying data structure is a static circular array. This means the ends of the array are attached.


What is the difference between numeric array and associative array?

Numeric array has numbers(+integers) that represent the values Associative array has strings that represent the values


What is the difference between array and string of array?

When we declare an array of characters it has to be terminated by the NULL , but termination by NULL in case of string is automatic.


What is the difference between allocation and search data structure?

difference between serch data structure and allocation data structure


Difference between vector and array list?

Vectors are thread safe but array lists are not. Hence array lists are faster than Vectors.


Difference between tall and flat organization structure?

There does not have to be a difference between a tall organization structure and a flat organization structure. These structures can be the same structure.


What is the difference between Immediate constituent and Phrase Structure Grammar?

the difference between phrase structure and ica


What is the difference between array and enum?

Array is collection of data items of same data type.Enum is collection of data items of different data type.


What is the difference between Land Grid Array and Pin Grid Array?

One has pin in front, one has land


What is the difference between an array of structures and an array within a structure?

The main differences between an array and a structure are: An Array is a collection of similar data items.An array is derived data type.It behave like a built in data type. An array can be increased or decreased. A structure is a collection of dissimilar data items.It is a user defined data types.It must be declared and defined.A structure element can be added if necessary.


What is the difference between a matrix structure and a organisational structure?

the difference between an organisational structure and a matrix structure is that a matrix structure is a combined structure whereas an organisational structure is in a vertical order and has different levels.