The bitwise AND operator is represented by the symbol

”^”
”&”
”&&”
”>>

The correct answer is: B. &

The bitwise AND operator is represented by the symbol &. It takes two operands and returns a value with each bit set to 1 if and only if both operands have a 1 bit in that position.

The other options are:

  • A. ^ The bitwise XOR operator is represented by the symbol ^. It takes two operands and returns a value with each bit set to 1 if the operands have different values in that position.
  • C. && The logical AND operator is represented by the symbol &&. It takes two operands and returns a value of true if both operands are true.
  • D. >> The right shift operator is represented by the symbol >>. It takes one operand and shifts the bits in the operand to the right by the specified number of positions.
  • E. None of the above
Exit mobile version