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 0 will be assigned to d.
B. A value 1 will be assigned to d.
C. A value -1 will be assigned to d.
D. The code reports an error.
Answer» C. A value -1 will be assigned to d.


Discussion

No Comment Found