220k views
5 votes
Which of the following is not one of the C++ control structures?

A. if
B. do...while
C. switch
D. break

1 Answer

7 votes

Answer: (D) break

Step-by-step explanation:

"break" is not one of the C++ control structures. It is a keyword that is used to exit a loop or a switch statement.

if/else, do...while, and switch are all control structures in C++. They are used to control the flow of a program.

User Obiwankenoobi
by
7.7k points