Solved

What Is the Output of the Following Code Segment? N

Question 38

Multiple Choice

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


A) 1 2 3 4 5
B) 1 1 1 ... and on forever
C) 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