

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following statements is correct about the C#.NET code snippet given below? int d; d = Convert.ToInt32( !(30 < 20) ); |
A. | A value 1 will be assigned to d |
B. | A value 0 will be assigned to d |
C. | The code reports an error. |
D. | A value -1 will be assigned to d |
Answer» B. A value 0 will be assigned to d | |