Computer Science, asked by MonkJitsu, 1 year ago

comment on the statement 'The default of switch statement is equivalent to else of if statement '.

Answers

Answered by piyushatre29
11

yes default of switch statement is equivalent to else of if statement because in switch statement no case is match it will execute the default statement as in if statement when if condition is not satisfied it will execute the else statement


please mark me brainleist if i deserve

Similar questions
History, 1 year ago