Operators - Programming

Q1:

Which of the following statements is correct about Bitwise ^ operator used in C#.NET?

A The ^ operator can be used to put ON a bit.

B The ^ operator can be used to put OFF a bit.

C The ^ operator can be used to Invert a bit.

D The ^ operator can be used to check whether a bit is ON.

E The ^ operator can be used to check whether a bit is OFF.

ANS:C - The ^ operator can be used to Invert a bit.

No answer description is available. Let's discuss.