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 Respostas
+ 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