Hi!
How do these operators work?
Code:(<<, &, |, ~, ^) if we have: c1=5; c2=6; c3=c1 & c2 //????? c4=c1 | c2 c5= c1 ^c2 ..........
Hi!
How do these operators work?
Code:(<<, &, |, ~, ^) if we have: c1=5; c2=6; c3=c1 & c2 //????? c4=c1 | c2 c5= c1 ^c2 ..........
5 == 0101
6 == 0110
Code:so c3 = 0101 & 0110 ----------- 0100 = 4 c4 = 0101 | 0110 --------- 0111 = 7 c5 = 0101 ^0110 ----------- 0011 = 3