Question:

Which of the following is not a bitwise operator?

Show Hint

Bitwise operators modify individual bits; if the symbol is used for object access or string concatenation, it’s not bitwise.
  • |
  • \^
  • .
  • <<
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Bitwise operators work at the binary level, operating directly on bits of integers.
Common bitwise operators include:
- | (Bitwise OR)
- \^ (Bitwise XOR)
- & (Bitwise AND)
- << (Left shift) and >> (Right shift)
The . operator, however, is not a bitwise operator — in many programming languages it is used as a member access or concatenation operator (e.g., accessing object properties or joining strings).
Thus, $\mathbf.$ is the correct answer.
Was this answer helpful?
0
0