bitwise operators | SoloLearn: Learn to code for FREE!

+2

bitwise operators

is there any real need for bitwise operators?

7/24/2016 3:55:17 AM

sreeraj g

5 Answers

New Answer

0

It can be used for solving problems which are in binary. So maybe for creating any logical condition these operators could be used.

0

any particular example which we need in real life

0

since programming depends on bytes I would say yes. Multiplication and other math funktions are done this way.

0

Here's an example 2 in binary is 0010, if you use a logical left shift that is <<2 you get 4, essentially a logical left shift doubles a number.

0