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 the difference between the cout and cin iostream objects?

7 Answers  


What is visual c++ used for?

0 Answers  


Is visual c++ a compiler?

0 Answers  


What Is InfoViewer?

1 Answers  


What keyboard editor command is used for Undo?

1 Answers  






Explain pointer to the constant and constant pointer? Explain difference between them.

0 Answers  


What is a wizard?

0 Answers  


Explain the important features of vc++?

0 Answers  


How can we use cmutex?

0 Answers  


Where can I find microsoft visual c++ on my computer?

0 Answers  


what is the difference between the codes written in the document class and view class

1 Answers  


What is type-safety?

1 Answers  


Categories