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 The code will have compile time errors
B 5
C 6
D 7
E 8
+ AnswerD
+ Report