Computer Science, asked by tscr07, 6 months ago

is default clause compulsary in switch statement

Answers

Answered by sureshgowda24244
0

Answer:

Should a "switch" statement always include a default clause? No. It should usually include a default

Explanation:

Please mark as brainliest answer and follow me please and thank me please Because I am a very good boy

Answered by thesonofkrishna
0

no it is not mandatory.but for user comfort it is used most of the times.let us assume that an input is given to switch if default case

Similar questions