What will be printed out as a result of the following code execution:
int i = 2;
switch (i) {
    case 0: cout << 0;
    case 1: cout << 1;
    case 2: 
    case 3: cout << 3;
    default: cout << 4;
}
Explanation
Get an explanation when it's available:

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes