Where can we use bitwise shift? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Where can we use bitwise shift?

I think you know about the bitwise shift operator in c++ ( a << x) Can we use the same operator in other languages? For example c# which is based on c? And is it possible to use it, let's say, in Python?

13th Mar 2017, 7:14 PM
SaZha
SaZha - avatar
2 Answers
+ 1
Yes. It exists in c# and python.
13th Mar 2017, 10:03 PM
Dare-devil
Dare-devil - avatar
0
Thanks for that, just haven't seen them being used there before)
14th Mar 2017, 4:54 AM
SaZha
SaZha - avatar