Q. What will be the output of the following C# code?
Code:
class Program
{
public static void Main(string[] args)
{
int i = 100;
for (a = 0; a < 5; a++)
{
int i = 200;
Console. WriteLine(a * i);
}
Console. ReadLine();
}
}
β
Correct Answer: (C)
Compile time error