enum Season {
Summer = 1, Fall, Winter, Spring
};
int winter = Winter;
//winter is 3
//after a set value the count goes on from it;
//values may repeat
enum HttpStatus {
Ok = 200, Created, NotFound = 404, Missing = 404
};
int created = Created;
//created is 201
bool same = NotFound == Missing;
//same is true
printf("winter is %d\n", winter);
printf("created is %d\n", created);
printf("same is %s\n", same ? "true" : "false");