How many times will the following loop print hello?

i = 1;
while ( i <= 10 )
cout << "hello";

a. 0.
b. 9.
c. 10.
d. An infinite number of times.


d. An infinite number of times.

Computer Science & Information Technology

You might also like to view...

Paragraph formatting can be applied to multiple paragraphs simultaneously only if they are ________ before the formatting is applied

Fill in the blank(s) with correct word

Computer Science & Information Technology

A(n) ____ means the user has initiated an action that causes the program to perform the type of processing called for by the user's action.

A. link B. assignment C. event D. activation

Computer Science & Information Technology

A(n) ____________________ message is text that appears in its own window.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

An interactive PDF is a presentation-ready format, which means a document's interactivity is visible and able to be used.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology