0

What is the output??

enum color {red,green,blue} Color r=red; Switch(r) { Case red : std::coutā€¹ā€¹"red\n";break; Case green : std::coutā€¹ā€¹"green\n";break; Case blue : std::coutā€¹ā€¹"blue\n";break; }

13th May 2017, 4:59 PM
shad oow
shad oow - avatar
2 Answers
+ 2
No output As there is no main method
13th May 2017, 5:04 PM
Vishal Prajapati
+ 1
error. use color.red color.green .....
13th May 2017, 5:04 PM
MR Programmer
MR Programmer - avatar