Q96
What will be the output of the following C++ code? #include using namespace std; enum colour green, red, blue, white, yellow, pink ; int main() cout << green<< red<< blue<< white<< yellow<< pink; return 0;
A.
012345
AnswerB.
123456
C.
compile time error
D.
runtime error
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board