Kizspy | Question: 24
(Choose 2 answers)
FJOVERFLOW.COM
Which of the following correctly uses the enum to define colors and assigns Green to a variable c?
A. enum Color {Red, Green, Blue };
Color c=Green;
B. enum Color {Red, Green, Blue };
c = Green;
C. enum Color {Red 1, Green = 2, Blue = 3};
Color c = 2;
D. All of the others