1.

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
Answer» C. 2


Discussion

No Comment Found