Click here

bitwise operator

An operator that manipulates individual bits. The operators that most people are familiar with, such as the addition operator (+), work with bytes or groups of bytes. Occasionally, however, programmers need to manipulate the bits within a byte. The C programming language supports the following bitwise operators:

  1. >> Shifts bits right
  2. << Shifts bits left
  3. & Does an AND compare on two groups of bits
  4. | Does an OR compare on two groups of bits
  5. ^ Does an XOR compare on two groups of bits
  6. ~ Complements a group of bits

Not all programming languages support bitwise operators.



Top Terms

Connect with Webopedia

  • The Difference Between Adware & Spyware

    Not technically fitting into either the virus or spam category we have spyware and adware, which are growing concerns for Internet users.

    Read More »

Did You Know? Archive »

  • Quick Reference Archive »