LogiQuest
Back to Control Instructions
15

What is the output of the following program?

int count = 0;
for (int i = 0; i < 3; i++)
    for (int j = 0; j < 2; j++)
        count++;
Console.WriteLine(count);
Easy

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.