Multiple Choice
What is the output of the following code fragment?
Int x=0;
While x < 5)
Cout << x << endl;
X ++;
Cout << x << endl;
A) 0
B) 5
C) 4
D) unable to determine
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q29: What is the value of x after
Q30: What is the output of the following
Q41: What is the correct way to write
Q42: Each time a loop body executes is
Q43: Given the following code fragment and the
Q44: Executing one or more statements one or
Q45: In the following code fragment, x has
Q48: What is the value of x after
Q50: Every line in a program should have
Q51: What is the value of x after