+ 2
What are the meaning of logical and bitwise operators in programming
4 ответов
+ 12
Please use the search bar!
https://www.sololearn.com/learn/4070/?ref=app
+ 3
Logical is for condition, i.e., true or false.
Bitwise is for bits, i.e., 1 or 0
Logical operator is used in boolean conditions. For example, true && false. (Logical and)
Bitwise operator is used in number operation since the computer stores numbers as 1 and 0. For example
33 -> 00100001
& (Bitwise and)
100 -> 01100100
=32 -> 00100000 (both only 6th digit have 1)
+ 3
Ok thankyou ❤