"u will know when u IM me" <[EMAIL PROTECTED]> wrote: > I want to create an enum variable whose size is 4 byte in > 32- machine and 8 bytes on 64 bit machines.
Your nearest bet is...
enum my_enum { my_enum_constant = INT_MAX; } my_enum_variable;
> Basically, I want to knopw whether one can specify data type
> with enum declaraion.
Every enum declaration specifies a data type.
Show us what you're actually trying to do, rather than asking
how to do something you think is the solution.
--
Peter
