1

What will be the output of following code? #include using namespace std; int main() { enum color { blue, orange, green }; enum fruit { apple, guava, orange }; int i = 0; for (i = blue; i <= green; i++) printf("%d", i); return 0; }

Correct Answer: syntax error

Make the most of this question

This page focuses on one Principles of Programming Languages question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.