I am wondering how many bits (in memory) are used for a declared enum type?
e.g. int is 32 bits
bool is 1 bit
enum??
At enum, is it dependent on how many values it can take, e.g....
Type: Posts; User: JerryL
I am wondering how many bits (in memory) are used for a declared enum type?
e.g. int is 32 bits
bool is 1 bit
enum??
At enum, is it dependent on how many values it can take, e.g....
Hi!
I have been thinking about this one the whole night but couldn't figure it out. I guess it was my bad day (or night). :D
So, I have written the following code (it does nothing useful, it...