Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Size of Enumerators in C language

Status
Not open for further replies.

Sudarsan_EDA

Member level 2
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.
 

Sink0

Full Member level 6
Full Member level 6
Joined
Nov 25, 2009
Messages
390
Helped
37
Reputation
74
Reaction score
30
Trophy points
1,308
Location
Sao Paulo, Brazil
Activity points
4,186
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top