Control Instructions - Programming

Q1:

What will be the output of the code snippet given below?
int i;
for(i = 0; i<=10; i++)
{
    if(i == 4)
    {
        Console.Write(i + ' '); continue;
    }
    else if (i != 4)
        Console.Write(i + ' '); else
    break;
}

A 1 2 3 4 5 6 7 8 9 10

B 1 2 3 4

C 0 1 2 3 4 5 6 7 8 9 10

D 4 5 6 7 8 9 10

E 4

ANS:C - 0 1 2 3 4 5 6 7 8 9 10

No answer description is available. Let's discuss.