Question: Which of the following statements are valid when occurring on their own? Select the three correct answers. (a) while () break; (b) do { break;
Which of the following statements are valid when occurring on their own?
Select the three correct answers.
(a) while () break;
(b) do { break; } while (true);
(c) if (true) { break; }
(d) switch (1) { default: break; }
(e) for (;true;) break;
Step by Step Solution
3.40 Rating (153 Votes )
There are 3 Steps involved in it
b d and e The loop condition in a while statement is not optional ... View full answer
Get step-by-step solutions from verified subject matter experts
