lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 20
What is the output of the following code snippet?
bool a = true; bool b = false; bool c = true; Console.WriteLine(a | b ^ c);
A. False
B. True
Links:
Operator precedence and associativity
The OR Operator
The Logical XOR Operator
Boolean Data Type