Question
int i = 20 ;
for( ; ; )
{
Console.Write(i + " ");
if (i >= -10)
i -= 4;
else
break;
}
a.
20 16 12 84 0 -4 -8
b.
20 16 12 8 4 0
c.
20 16 12 8 4 0 -4 -8 -12
d.
16 12 8 4 0
Posted under C# programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following is the correct output for the C#.NET program given below?
Similar Questions
Discover Related MCQs
Suggested Topics
Are you eager to expand your knowledge beyond C# programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!