Question:Consider the following code:
#include<stdio.h> int main(int argc, char* argv[]) { enum Colors { red, blue, white = 5, yellow, green, pink }; Colors color = green; printf("%d", color); return 0; }What will be the output when the above code is compiled and executed?
A 7
B 8
C 9
D 10
+ AnswerA
+ Report