Please consider the example
In example. i have 6 enum members. But if i find the sizeof(enumtag),
it returns only 4 bytes as total size ie., it returns size of only one member. What about remaining 5 members.
Please anyone can tell me how memory allocation is done for an enum datatype and how its organised.
Thanks in advance.
0 · ·