Programming Languages
C#
Subjective
Mar 08, 2013
Which is the correct output for the C#.NET program given below?
int i = 20 ;
for( ; ; )
{
Console.Write(i + " ");
if (i >= -10)
i -= 4;
else
break;
}
Detailed Explanation
Option C is the right answer.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts