Can anyone explain that What are Bitwise operators? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can anyone explain that What are Bitwise operators?

19th Sep 2021, 5:23 PM
Zannatul Naim
Zannatul Naim - avatar
2 Answers
+ 4
Computers use binary - the digits 0 and 1 - to store data. A binary digit, or bit, is the smallest unit of data in computing. It is represented by a 0 or a 1. Binary numbers are made up of binary digits (bits), eg the binary number 1001. Bitwise operators are operators (just like +, *, &&, etc.) that operate on ints and uints at the binary level. This means they look directly at the binary digits or bits of an integer. Source: tutplus, bbc I hope, it helps. Happy coding!
19th Sep 2021, 5:30 PM
mesarthim
mesarthim - avatar
19th Sep 2021, 6:17 PM
Abhay
Abhay - avatar