Question:What will be the output of the following code?
int x = 0;
while (x < 3)
{
    Console.WriteLine(x);
    x += 1;
}
 

A 0 1 2 

B 0 1 2 3 

C 1 2 3 

D 0 1 

+ Answer
+ Explanation
+ Report
Total Preview: 30

Copyright © 2024. Powered by Intellect Software Ltd