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; }
2 Answers
+ 2
No output
As there is no main method
+ 1
error.
use color.red
color.green
.....