✏️ Explanatory Question

Does a break is required by default case in switch statement?

👁 1,041 Views
📘 Detailed Answer
💡

Answer with Explanation

Yes, if it is not appearing as the last case and if we do not want the control to flow to the following case after default if any.