If there is nodefaultclause in aswitchstatement and no match is found, what happens?

A. the computer loops to the beginning of the switch statement
B. an error code is generated
C. the program execution is terminated
D. the instruction after the closing brace is executed

Answer: D

Computer Science & Information Technology

You might also like to view...

When tables are exported into Excel from Access the table field names are displayed in Excel as these

a. Row labels b. Table names c. Column labels

Computer Science & Information Technology

Is the order of these steps important? Explain your answer.

Consider the following sequence of steps to add a node to the front of a linked list: - Set the reference field to refer to the first node in the current list. - Set the reference to the front of the list to refer to the new node.

Computer Science & Information Technology