Multiple Choice
What is the output of the following,if it were embedded in an otherwise correct and complete program and run?
int x = 10;
While (x > 0)
{
cout << x << " ";
x= x + 3;
}
cout << endl;
A) 10 13 16 19 ...
B) The compiler detects that this will be an infinite loop,so it does not compile. Insert lowercase be
C) This is an infinite loop.When compiled and run,it runs until machine limitations stop it,or you get tired of it and kill the process.
D) 0 3 6 9.
Correct Answer:

Verified
Correct Answer:
Verified
Q10: The value of count is 0;limit is
Q21: Write a program that reads in and
Q22: Which of the following control structures requires
Q23: For each of the following situations,tell which
Q24: In a while loop,the Boolean_Expression is executed
Q25: Write Boolean expressions that represent the given
Q27: Write the following do-while statement with
Q28: A numeric integer grade is between 50
Q29: When a loop is nested in side
Q31: Which of the following loop statements is