What is the default label used for in a switch statement?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the purpose of a C++ namespace?
Do I need ms visual c++ on my computer?
Do I need microsoft visual c++ 2005 redistributable on my computer?
How do I install microsoft visual c++ 2015?
What is the return value when the InsertItem function fails?
What is iunknown? Explain some of commonly used methods provided by iunknown.
Explain pointer to the constant and constant pointer? Explain difference between them.
How can we use cmutex?
Name some examples of the different types of windows found in a Windows application?
What is the difference between turbo c++ and visual c++?
Is visual c++ a compiler?
What are the advantages of a message map