answersLogoWhite

0


Best Answer

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

User Avatar

Wiki User

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

Wiki User

9y ago

A structure will allocate memory depending on how much is needed by the members. Enum will split it up manually.

This answer is:
User Avatar

Add your answer:

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

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.


Difference between vector and array list?

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


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

One has pin in front, one has land


What is difference between C enum and C plus plus enum?

In C++, enum signifies a slightly stronger type than in C. For example, in C, one could write: enum Direction { UP, DOWN }; Direction d = 1; In C++, this would be illegal, only UP or DOWN can be assigned to a variable of type Direction, though there is still implicit casting to integer, so one could still write: int i = UP; Another difference has to do with the way variable are declared in general in C++. In C, once the enum was declared as above, declaring variables of type Direction would have to be done through the enum keyword, like this: enum Direction d = UP; In C++, the name "Direction" becomes a type in itself, so you can write: Direction d = UP;


What is Difference between programmable logic array and programmable array logic?

Using and gate - pla is programmable while pal is fixed


What is the difference between a Magician and a Chorus Line?

A Magician has a cunning array of stunts ...........................................................................


What is the ingredients in jav enum?

Java enum is not a consumable product. Java enum is a type of computer language that allows internet users to surf the internet with more ease and makes the transition between graphics and text more fluid.


Main difference between Array List and Vector in Java?

List is not sync'd as a vector is.


What is the difference between a numericial array and an associative array?

A numericial array is an array with keys made up of only integers. An associative array is an array with keys made up of anything that is not an integer. In some languages, it is possible to mix integer keys and non-integer keys into a mixed array.


Which is used to compute the difference in arrays?

arrayarray_diff(array$array1,array$array2[,array$...] )


What is the difference between an array element and a variable?

Array elements are all members of the same variable, indexed in a logical manner. variables are distinct objects which must be referred to distinctly. The main functional difference is that a program can iterate over an array without the programmer knowing the original size of the array or explicitly which member to access.