[SOLVED] Size of Enumerators in C language

Status
Not open for further replies.

Sudarsan_EDA

Member level 2
Joined
Jun 10, 2010
Messages
44
Helped
11
Reputation
22
Reaction score
11
Trophy points
1,288
Location
India
Activity points
1,523
Hi to all,

How to find Size of Enumerators variable?
I am using Kiel compiler for compiling "C" code.
 

Hi Sudarsan_EDA, the compiler manual/user guide might have the right information regarding this.
 
As far as i remember a enum is an integer, so have the same size as an integer (what is up to your compiler) but i might be wrong.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…