ExamVeda
Login
Home
Control Flow Statements in C Sharp
?

Select the output for the following set of code :
static void Main(string[] args)
{
    int a = 0;
    int i = 0;
    int b;
    for (i = 0; i < 5; i++)
    {
         a++;
         Console.WriteLine("Hello \n");
         continue;
    }
    Console.ReadLine();
}

Answer & Solution
Correct Answer: Option C
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.