Which of the following loop statements is guaranteed to iterate the body of the loop at least once?

a) while(control) body;
b) do body while(control);
c) for (initialize; test; update) body;
d) none of the above
e) all of the above

b) do body while(control);

Computer Science & Information Technology

You might also like to view...

To display a slide master, you can ________ the Normal button in the lower right corner of your screen

A) double-click B) press the Ctrl key and click C) right-click D) press the Shift key and click

Computer Science & Information Technology

A function other than the main function is executed

A) when it is first defined. B) when its function prototype is encountered. C) only once. D) when the main function finishes executing. E) whenever it is called.

Computer Science & Information Technology