What will be printed by the following statement if the value of the select is ‘Q’:
switch (select)
{
case ‘Q’ : case ‘q’:
cout << “quit ”;
case ‘R’: case ‘r’:
cout << “redo ”;
break;
case ‘P’: case ‘p’:
cout << “play ”;
default:
cout << “other ”;
}
a) quit
b) quit redo
c) quit redo play
d) other
b) quit redo
You might also like to view...
____ characterizes how effectively a given practice is being carried out.
A. Goal setting B. Capability C. Facility D. Utility
The Collapse dialog button shrinks the dialog box to move it out of the way
Indicate whether the statement is true or false
What do black or empty spaces represent in a histogram?
What will be an ideal response?
Some blogs that often contain very lengthy posts will opt to syndicate ____ of each post.
A. only the first paragraph B. an abstract C. only the title D. the links