1)Compiller it store as integer ??? (not sure)
2)#DEFINE is only compilation time and when debugging program, you see only variables as 0,1,2 .... ,but ENUM must show as jan, feb, march .....
ENUM is type int.
When using enumeration types, it is important to remember that each declaration of an integral type is different from all the other (and therefore also different from the int type). These different types cannot be mixed in an expression. (cause a syntax error)
ENUM is type int.
When using enumeration types, it is important to remember that each declaration of an integral type is different from all the other (and therefore also different from the int type). These different types cannot be mixed in an expression. (cause a syntax error)
Storage required for type enum is compiler dependend; take e. g. the ra!sananc€ compiler and you will detect some selection about byte (char) or word (int) for enum type.