Multiple Choice
for (int outer = 0; outer < 2; outer++)
{
for (int inner = 0; inner < 3; inner++)
{
Console.WriteLine("Outer: {0}\tInner: {1}", outer, inner) ;
}
}
-How many lines will be printed for the above nested loop?
A) 2
B) 3
C) 5
D) 6
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q7: The for statement is a compact method
Q17: The do...while statement is a posttest loop,
Q35: int loopVariable = 0;<br>do<br>{<br>Console.WriteLine("Count = {0:}", ++loopVariable);<br>}while
Q46: Using the break or continue statements with
Q49: An example for statement that has a
Q50: The conditional expression is sometimes called the
Q53: You must tell the user what value
Q60: You often need to do a "prime
Q73: Which of the following is NOT a
Q75: What is NOT required when a counter-controlled