A
Q. What is the output of the following code?
Code:
enum color {RED, GREEN, BLUE};
int main() {
enum color c = GREEN;
printf("%d", c);
}
int main() {
enum color c = GREEN;
printf("%d", c);
}
- Correct Answer - Option(A)
- Views: 18
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.