This may have been answered elsewhere but I could not find a suitable response.
I have this code:
enum enumWizardPage { WP_NONE = 0x00, WP_
IIRC its represented as int in memory. But gcc has switch -fshort-enum to make it a shortest integer type that fits all the values, if you need to save space. Other compilers will have something similar.
-fshort-enum