enum Season {
Summer, Fall, Winter, Spring
};
enum Season winter = Winter;
//an enum converts to int without a cast
int baseValue = winter;
//baseValue is 2
//the value is a number, so arithmetic works: Winter + 1 is Spring
enum Season next = winter + 1;
//next is 3
//C enums hold only integers: no strings and no double
printf("baseValue is %d\n", baseValue);
printf("next is %d\n", next);