

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the C#.NET code snippet given below?
int num = 1, z = 5; if (!(num <= 0)) Console.WriteLine( ++num + z++ + " " + ++z ); else Console.WriteLine( --num + z-- + " " + --z ); |
A. | 5 6 |
B. | 6 5 |
C. | 6 6 |
D. | 7 7 |
Answer» E. | |