Which of the following statement is TRUE for switch statement?

1
It is mandatory to include at least one case in the switch block.
2
It is optional to include a default case.
3
There is no restriction on the number of cases that can be included in as switch statement.
4
None of the above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation