Which of the following control structures requires curly braces?

a) if-else
b) while
c) do-while
d) switch
e) for

d) switch

Computer Science & Information Technology

You might also like to view...

If content exists in cell B1, and a long text value is entered into cell A1, the A1 display is ________

A) wrapped B) truncated C) hidden D) deleted

Computer Science & Information Technology

A trailing else placed at the end of an if/else if statement provides a default action when ________ of the if conditions is/are true.

A) none B) any one C) only the last one D) at least two E) all

Computer Science & Information Technology