Typedef - Programming

Q1:

What will be the output of the program?
#include<stdio.h>

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

A 1

B 0

C 2

D red

ANS:A - 1

No answer description is available. Let's discuss.