- https://www.geeksforgeeks.org/enumeration-enum-c
- https://www.programiz.com/c-programming/c-enumeration
- https://en.cppreference.com/w/cpp/language/enum
An enum variable can take only one value. The size of enum variable is a int.
Can only output a int, use if
or case
to print the value.