lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 20
What is the output of the following code snippet?
bool a = Convert.ToBoolean(-3); bool b = Convert.ToBoolean(-2); Console.WriteLine(a & b);
A. False
B. Error
C. True
Links:
Converting to and from Boolean values
Boolean Data Type