What is the default label used for in a switch statement?
Answer Posted / n
switch takes a parameter. If any case statement matches the
passed parameter the code snippet in that case is ececuted.
but if none matches the default case is executed. Thus it
is used to execute the default action in case of no matches.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is microsoft visual c++ used for?
Explain the significance of initapplication() in vc++.
What is a microsoft visual c++ 2008 redistributable?
Explain the advantages of cwinthread class.
How do I create an mfc application in vc++?
What is the difference between an MLE and an SLE?
What is the use of microsoft visual c++ 2015 redistributable?
How many microsoft visual c++ do you need?
How can we use cmutex?
What is vcredist_x86 exe?
Do I need microsoft visual c++ on my computer?
What is microsoft visual c++ 2013 redistributable?
difference between assert and verify.
What is iunknown?
Do I need microsoft visual c++ 2005 redistributable on my computer?