

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following 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; } |
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 |
E. | 16 8 0 -8 |
Answer» D. 16 12 8 4 0 | |