Vidyalelo
C# Programming · Q73

Control Flow Statements in C Sharp

Programming · C# Programming · question 73

Q73

What will be the output of the following C# code? static void Main(string[] args) int I, X; for (I = 1; I <= (9 % 2 + I); I++) X = (I * 3 + I * 2) / I; Console.WriteLine(X); Console.ReadLine();

A.
Output of code is 5 10
B.
Output is 5 5 5 5
C.
Print 5 infinite times
Answer
D.
None of the mentioned

Answer: Option C

Solution

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