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 microsoft visual c++ 2015 redistributable?

583


Explain the important features of vc++?

595


What is microsoft visual c++ redistributable and do I need it?

536


What is cmutex?

575


Explain pointer to the constant and constant pointer?

500






Do you need microsoft visual c++?

602


How do you handle drag and drop in ole?

590


How do I remove microsoft visual c++ 2015 redistributable?

581


hello sir i need movie editing and mixing software .where it is available and what is the site address

1717


What is a copy constructor? What is the need for it?

571


How do I get rid of microsoft visual c++ runtime library error?

655


What is iunknown?

548


What is a thread (VC++) and state the difference between Cmutex and Csemaphone?

607


What is a wizard?

1772


Explain some of commonly used methods provided by iunknown.

505