Enum range

S

Suman

Vinodh said:
I don't understand what is the range of an enumeration.
The smallest bit field that can hold the enumerator values.The sizeof
an enum
is the sizeof some integral type that can hold its range& not larger
than sizeof(int), unless the range of the enum cannot be represented as
an int/unsigned int.

HTH
Suman.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,296
Messages
2,571,535
Members
48,281
Latest member
DaneLxa72

Latest Threads

Top