+ 1
Can anyone explain that What are Bitwise operators?
2 odpowiedzi
+ 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!