Creating a set of constants that are given their values from enumeration starting at 0

Auto Incrementing

enum {red, yellow, green} traffic_signal;
// int type -> red = 0, yellow = 1, green = 2

Custom Enum Values

enum {red=0, blue=2, green=6} Colors;