Computer Science, asked by VikashAron, 1 year ago

what is the important of break and Default statement in switch

Answers

Answered by Anonymous
10
if break statement is not used then the output and execution will continue to which may lead to a fall through...thus it will provide all answers for all cases
default statement is necessary for stopping the program or else it will continue to display options and never end...

Anonymous: plz mark me brainliest if my answer helped u...
Similar questions