+ 2
How does this work &,| ?
Can you explain me, please?
1 Answer
+ 10
bitwise operator first convert the number in bits then &-> is for multiply the bits and |-> is for adding the bits position by position
ex:- 4 & 5
4->0100
5->0101
0100
*0101
-----------
0100 so answer is (4)
-----------
here are some lessons which will explain you well
https://www.sololearn.com/learn/4072/?ref=app
https://www.sololearn.com/learn/4073/?ref=app