Solved

What Is the Output of the Following Code Segment

Question 25

Multiple Choice

What is the output of the following code segment?
N = 1;
While (n <= 5)
Cout << n << ' ';
N++;


A) 1 2 3 4 5
B) 1 1 ... and on forever
C) 1 2 3 4 5 6
D) 1 2 3 4
E) 2 3 4 5

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions