- 1
What the output?
int a=0; switch (a) { case 0: cout <<"Ana";break; case 1: cout <<"Jana";break; case 2: cout <<"Petar";break; case 3: cout <<"Andrej";break; default: cout << "No name"; }
1 Resposta
+ 1
Its "Ana". You know the code playground?
https://code.sololearn.com/#cpp
Check it out, so you can test such things yourself.