What is the default label used for in a switch statement?

Answers were Sorted based on User's Feedback



What is the default label used for in a switch statement?..

Answer / samir

"Default :" label only

Is This Answer Correct ?    3 Yes 1 No

What is the default label used for in a switch statement?..

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

Post New Answer

More VC++ AllOther Interview Questions

What is ole? How do you handle drag and drop in ole?

0 Answers  


Difference between getmessage, postmessage & peakmessage.

0 Answers  


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

0 Answers  


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

0 Answers  


What is splitter window in vc++?

0 Answers  






Do I need microsoft visual c++ on my computer?

0 Answers  


How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?

0 Answers   Soft Solutions,


Is it ok to uninstall microsoft visual c++?

0 Answers  


How to declare more than one variable on a single line?

3 Answers   CMC,


In which Way invoke context-sensitive help inside the editor?

0 Answers  


What property is used to indicate that the up-down control is associated with a buddy control?

1 Answers  


How do I uninstall visual c++?

0 Answers  


Categories