1 typedef enum { RED, GREEN, BLUE } Color; 2 3 main() 4 { 5 Color c; 6 7 c = BLUE; 8 f(RED); 9 } 10 11 f(c) 12 Color c; 13 { 14 printf("c = %d\n", c); 15 } 16