Switch case statements are used to execute only specific case statements based on the switch expression . If switch expression does not match with any case, default statements are executed by the program.
Switch case statements are used to execute only specific case statements based on the switch expression . If switch expression does not match with any case, default statements are executed by the program.