5 Answers
New AnswerIt can be used for solving problems which are in binary. So maybe for creating any logical condition these operators could be used.
since programming depends on bytes I would say yes. Multiplication and other math funktions are done this way.
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.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message