What will be the output of the following program on GCC compiler?

Loading

โœช Choose the correct option.

What will be the output of the following program on GCC compiler?

#include  
int main() {
enum color{red, green, blue};
typedef enum color mycolor;
mycolor m = red;
printf("%d", m);
return 0;
}

A. 0
B. 1
C. 2
D. red