The bitwise OR operator is a A. unary operator B. binary operator C. ternary operator D. octal operator E. None of the above

unary operator
binary operator
ternary operator
octal operator E. None of the above

The correct answer is: B. binary operator.

A bitwise OR operator is a binary operator that takes two operands and returns a result that has the bits of the operands set to 1 where either or both operands have a 1 in that bit position.

A unary operator is an operator that takes one operand.

A ternary operator

64 288 64 288 64S117.2 64 74.6 75.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2-142.7 81.2z"/> Subscribe on YouTube
is an operator that takes three operands.

An octal operator is an operator that operates on octal numbers.

None of the above is a bitwise OR operator.

Exit mobile version