What is the purpose of the default statement-00757

Online Quiz This subjective question is related to the book/course vu cs504 Software Engineering - I. It can also be found in vu cs504 Mid Term Solved Past Paper No. 1.

Question 1: What is the purpose of the default statement
Answer:
The default statement is optional. If there is no case which matches the value of the switch statement, then the statements of default are executed.

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background