0
What is the output of the following C program?
#include <stdio.h>
enum color { RED = 5, GREEN, BLUE = 2, WHITE };
int main() {
printf("%d %d %d", GREEN, BLUE, WHITE);
return 0;
}- A6 2 2
- B5 2 3
- C6 2 3
- D6 3 4
Correct answer: C
What is the output of the following C program?
#include <stdio.h>
enum color { RED = 5, GREEN, BLUE = 2, WHITE };
int main() {
printf("%d %d %d", GREEN, BLUE, WHITE);
return 0;
}