- 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"; }

26th Apr 2020, 9:52 AM
Mihaela Trencheska
1 Respuesta
+ 1
Its "Ana". You know the code playground? https://code.sololearn.com/#cpp Check it out, so you can test such things yourself.
26th Apr 2020, 10:05 AM
Manu_1-9-8-5
Manu_1-9-8-5 - avatar