Computer Science, asked by ajeeth1571, 1 year ago

State the importance of break statement in the switch construct.

Answers

Answered by kumarkshitij552
1
a break statement is used after switch case statement because if the break statement will not be used the time comsumption will be more because after a condition is Proved true the control will automatically execute all the next conditions which are false even and thus the break statement protects the control from executing the false statements and it automatically skips the next part after a matched statement has been executed
Similar questions