>> and << operators | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

>> and << operators

So I red that operators "<<" and ">>" are used to shift a bit pattern, respectively, to the left and to the right. But can someone name a case when such thing is useful, couse it seems an utterly useless thing to do. Thank you for your answer in advance!

6th Jan 2020, 10:04 PM
Vitaliy Reshetar
Vitaliy Reshetar - avatar
2 Answers
+ 2
「HAPPY TO HELP」 Nicely explained 👌 After searching the whole internet I got a good explanation on these operators Thanks 😌
19th Oct 2020, 2:25 PM
‎Ashwin Maurya
‎Ashwin Maurya - avatar
0
「HAPPY TO HELP」, oh I got it, now it seems indeed pretty useful 😂 Thanks!
6th Jan 2020, 10:45 PM
Vitaliy Reshetar
Vitaliy Reshetar - avatar