Vidyalelo
C# Programming · Q63

Operators and Expressions in C Sharp

Programming · C# Programming · question 63

Q63

What will be the output of the following C# code? bool a = true; bool b = false; a |= b; Console.WriteLine(a); Console.ReadLine();

A.
0
B.
1
C.
True
Answer
D.
False

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board