Vidyalelo
C# Programming · Q72

Control Flow Statements in C Sharp

Programming · C# Programming · question 72

Q72

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

A.
0 0 0 0
B.
0 0 0
C.
0 infinite times
Answer
D.
0

Answer: Option C

Solution

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