Vidyalelo
C# Programming · Q68

Control Flow Statements in C Sharp

Programming · C# Programming · question 68

Q68

What will be the output of the following C# code? static void Main(string[] args) int i = 1, j = 1; while (++i <= 10) j++; Console.WriteLine(i+ " " +j); Console.ReadLine();

A.
12 11
B.
10 11
C.
11 10
Answer
D.
11 12

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board