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


Please Help Members By Posting Answers For Below Questions

What is splitter window in vc++?

713


What is vc++ redistributable?

756


What is visual c++ runtime error?

604


Is microsoft visual c++ a virus?

662


What is visual c++ 2008 redistributable x64?

558






How you build a project using Developer Studio?

1761


What is vc++ programming?

690


What is the difference between turbo c++ and visual c++?

536


What are the advantages of a message map

573


How do I install microsoft visual c++ 2015?

538


How do I fix microsoft visual c++ 2015 setup failed?

585


What is microsoft visual c++ 2013 redistributable package x64?

550


What is the use of microsoft visual c++ 2015 redistributable?

527


How do I uninstall vc++ 2015?

514


Is visual c++ a compiler?

558