> Basically, I want to knopw whether one can specify data > type with enum > declaraion.
According to K&R2, "The identifiers in an enumerator list are declared as constants of type int". So you're stuck with whatever the compiler uses for ints. But when you use an enum value, you can cast it to the type you want. E.g. if THING is an enum constant, you could do return (uint32_t) THING; to return an unsigned 32-bit integer from a function. The normal provisos about casting apply, of course. David
