What would be the result of the following conditional expression? int i = 0; while (i <
Question:
What would be the result of the following conditional expression?
int i = 0;
while (i < 10) ;
i++;
Console.Write(i);
a. 123456789
b. 012345678910
c. 0123456789
d. an infinite loop
e. none of the above
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285096261
4th Edition
Authors: Barbara Doyle
Question Posted: