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

Computer Science & Information Technology

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

Computer Science & Information Technology

The Collapse dialog button shrinks the dialog box to move it out of the way

Indicate whether the statement is true or false

Computer Science & Information Technology

What do black or empty spaces represent in a histogram?

What will be an ideal response?

Computer Science & Information Technology

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

Computer Science & Information Technology