Skip to main content

Posts

Showing posts with the label Bitwise Operators

Operators in C programming : Bitwise Operators

Bitwise Operator are used for manipulating data at bit level. These operators are used for testing the bits, or shifting them right or left. Bitwise The most common used unary operator is unary minus, where a numerical constant, variable expression is preceded by a minus sign. Unary minus operator is distinctly different from the arithmetic operator which denotes subtraction ( - ). The subtraction operator requires two separate operands. Several examples of unary minus operator -743                 - 0X7FFF                    -0.2                 -5E-8 -r00+1             - (x+y)                 ...