Vidyalelo
C# Programming · Q60

Control Flow Statements in C Sharp

Programming · C# Programming · question 60

Q60

What will be the output of the following C# code? static void Main(string[] args) int i = 0; if (i == 0) goto label; label: Console.WriteLine("HI..."); Console.ReadLine();

A.
Hi... infinite times
B.
Code runs prints nothing
C.
Hi Hi
D.
Hi...
Answer

Answer: Option D

Solution

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