Explain the bit wise operators, C/C++ Programming

Assignment Help:

Explain the Bit Wise Operators?

C language has distinction of supporting special operators recognized as bit wise operators for manipulation of data at bit level. These operators are used shifting from left to right or for testing the bits. Bitwise operators may perhaps not be applied to float and double.

Bitwise Operators

Logical Operators

(unary) bitwise complement

~

 

Bitwise 'and'

&

Bitwise 'exclusive or'

^

Bitwise 'inclusive or'

|

Shift Operators

Left Shift

<< 

 

Right Shift

>> 

Like other operators bitwise operators have rules of associativity and precedence that determine how expressions involved them are evaluated.


Related Discussions:- Explain the bit wise operators

Define the modulo division operator in c language, Define the Modulo Divisi...

Define the Modulo Division Operator in c language? The C provides one more arithmetic operator % called as modulo division operator and this operator yields the remainder of an

Should i call a destructor explicitly on a local variable?, Should I call a...

Should I call a destructor explicitly on a local variable?

Required code for problem, 6#666#665533999 where # is used as space.output ...

6#666#665533999 where # is used as space.output is monkey

Library functions, is getchar() is a C++ library function?

is getchar() is a C++ library function?

Write a Programme that computes the price of portfolio, write a programme t...

write a programme that computes the price of shares and options. do the options in one-period binomial model.

#Class objects, make use of class objects two calculate average

make use of class objects two calculate average

Explain processing a data file, Explain Processing A Data File? Mainly ...

Explain Processing A Data File? Mainly data file applications needs that a data file be altered as it is being processed. For instance in an application involving the processin

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd